Skip to content

Commit 8fbb9fb

Browse files
authored
CI: Drop macos-latest runner for torch 1.9.1 (kornia#2905)
* fix (CI): remove old torch on macos * chore: ensure last pytorch
1 parent a041d92 commit 8fbb9fb

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/pr_test_cpu.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,8 @@ jobs:
1717
strategy:
1818
fail-fast: true
1919
matrix:
20-
os: ['Ubuntu-latest', 'Windows-latest', 'MacOS-latest']
20+
os: ['Ubuntu-latest', 'Windows-latest']
2121
pytorch-dtype: ['float32', 'float64']
22-
exclude:
23-
- os: 'Windows-latest'
24-
pytorch-dtype: 'float64'
25-
- os: 'MacOS-latest'
26-
pytorch-dtype: 'float64'
2722

2823
uses: kornia/workflows/.github/workflows/tests.yml@v1.8.1
2924
with:
@@ -32,6 +27,14 @@ jobs:
3227
pytorch-version: '["1.9.1", "2.2.2"]'
3328
pytorch-dtype: ${{ matrix.pytorch-dtype }}
3429

30+
tests-cpu-macos:
31+
uses: kornia/workflows/.github/workflows/tests.yml@v1.6.0
32+
with:
33+
os: 'MacOS-latest'
34+
python-version: '["3.8", "3.11"]'
35+
pytorch-dtype: 'float32'
36+
37+
3538
coverage:
3639
uses: kornia/workflows/.github/workflows/coverage.yml@v1.8.1
3740

0 commit comments

Comments
 (0)