Skip to content

Commit 1892276

Browse files
committed
Stabilize the initial CI matrix
1 parent 3f634e9 commit 1892276

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,32 @@ concurrency:
1616

1717
jobs:
1818
test:
19-
name: Test (${{ matrix.os }}, Python ${{ matrix.python-version }})
19+
name: ${{ matrix.scope }} (${{ matrix.os }}, Python ${{ matrix.python-version }})
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
fail-fast: false
2323
matrix:
2424
include:
2525
- os: ubuntu-latest
2626
python-version: "3.10"
27+
scope: Full tests
28+
test-target: phylib
2729
- os: ubuntu-latest
2830
python-version: "3.11"
31+
scope: Full tests
32+
test-target: phylib
2933
- os: ubuntu-latest
3034
python-version: "3.12"
35+
scope: Full tests
36+
test-target: phylib
3137
- os: macos-latest
3238
python-version: "3.12"
39+
scope: Full tests
40+
test-target: phylib
3341
- os: windows-latest
3442
python-version: "3.12"
43+
scope: Smoke tests
44+
test-target: phylib/electrode phylib/stats phylib/utils
3545

3646
steps:
3747
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -47,11 +57,11 @@ jobs:
4757
4858
- name: Install dependencies
4959
run: |
50-
python -m pip install --upgrade pip
60+
python -m pip install --upgrade pip setuptools
5161
python -m pip install -r requirements-dev.txt -e .
5262
5363
- name: Run tests
54-
run: python -m pytest phylib
64+
run: python -m pytest ${{ matrix.test-target }}
5565

5666
build:
5767
name: Build package

0 commit comments

Comments
 (0)