Skip to content

Commit 57d0852

Browse files
committed
split windows runs
1 parent 95e21b9 commit 57d0852

File tree

1 file changed

+47
-1
lines changed

1 file changed

+47
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
os: [macos-14, windows-latest, ubuntu-latest]
74+
os: [macos-14, ubuntu-latest]
7575
python-version: ["3.9", "3.10"]
7676
steps:
7777
- name: Clone repo
@@ -87,3 +87,49 @@ jobs:
8787

8888
- name: Run tests
8989
run: pytest --cov=nixtla --reruns 2 --reruns-delay 1 --only-rerun httpx.ConnectError nixtla_tests
90+
91+
run-windows-distributed-tests:
92+
runs-on: ${{ matrix.os }}
93+
timeout-minutes: 60
94+
strategy:
95+
fail-fast: false
96+
matrix:
97+
os: [windows-latest]
98+
python-version: ["3.9", "3.10"]
99+
steps:
100+
- name: Clone repo
101+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102+
103+
- name: Set up python
104+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # 5.4.0
105+
with:
106+
python-version: ${{ matrix.python-version }}
107+
108+
- name: Install pip requirements
109+
run: pip install uv && uv pip install --system ".[dev,distributed]"
110+
111+
- name: Run tests
112+
run: pytest --cov=nixtla -m "distributed_run" --reruns 2 --reruns-delay 1 --only-rerun httpx.ConnectError nixtla_tests
113+
114+
run-windows-tests:
115+
runs-on: ${{ matrix.os }}
116+
timeout-minutes: 60
117+
strategy:
118+
fail-fast: false
119+
matrix:
120+
os: [windows-latest, ubuntu-latest]
121+
python-version: ["3.9", "3.10"]
122+
steps:
123+
- name: Clone repo
124+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
125+
126+
- name: Set up python
127+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # 5.4.0
128+
with:
129+
python-version: ${{ matrix.python-version }}
130+
131+
- name: Install pip requirements
132+
run: pip install uv && uv pip install --system ".[dev,distributed]"
133+
134+
- name: Run tests
135+
run: pytest --cov=nixtla -m "not distributed_run" --reruns 2 --reruns-delay 1 --only-rerun httpx.ConnectError nixtla_tests

0 commit comments

Comments
 (0)