Skip to content

Commit 4e9e303

Browse files
committed
chore: split tests
1 parent 1840b64 commit 4e9e303

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ concurrency:
2828

2929
jobs:
3030
test:
31+
name: Test for CXX/CUDA extensions on ${{ matrix.os }}
3132
runs-on: ubuntu-latest
3233
timeout-minutes: 60
3334
steps:
@@ -78,7 +79,7 @@ jobs:
7879
7980
- name: Test with pytest
8081
run: |
81-
make pytest
82+
make test PYTESTOPTS="-k accelerate"
8283
8384
- name: Upload coverage to Codecov
8485
uses: codecov/codecov-action@v3
@@ -90,8 +91,13 @@ jobs:
9091
fail_ci_if_error: false
9192

9293
test-pure-python:
93-
runs-on: ubuntu-latest
94+
name: Test for pure-Python on ${{ matrix.os }}
95+
runs-on: ${{ matrix.os }}
9496
timeout-minutes: 60
97+
strategy:
98+
matrix:
99+
os: [ubuntu-latest, windows-latest, macos-latest]
100+
fail-fast: false
95101
steps:
96102
- name: Checkout
97103
uses: actions/checkout@v3

0 commit comments

Comments
 (0)