Skip to content

Commit 3d5a58f

Browse files
committed
Fix default config and add options variation
1 parent 1b296b2 commit 3d5a58f

1 file changed

Lines changed: 5 additions & 22 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,25 @@ env:
1111

1212
jobs:
1313
tests:
14-
name: Run tests (py${{ matrix.python-version || '3.14' }}, ${{ matrix.os || 'ubuntu-latest' }}, ${{ matrix.dtype || 'float32' }})
14+
name: Run tests (py${{ matrix.python-version || '3.14' }}, ${{ matrix.os || 'ubuntu-latest' }}, ${{ matrix.dtype || 'float32' }}, options=[${{ matrix.options || 'full' }}])
1515
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
1616
strategy:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
# Default configuration
21-
- {}
2220
# Python version variations
2321
- python-version: '3.10'
2422
- python-version: '3.11'
2523
- python-version: '3.12'
2624
- python-version: '3.13'
25+
- python-version: '3.14'
2726
# OS variations
2827
- os: macOS-latest
2928
- os: windows-latest
3029
# dtype variation
3130
- dtype: float64
31+
# Options variation
32+
- options: ''
3233

3334
steps:
3435
- name: Checkout repository
@@ -40,7 +41,7 @@ jobs:
4041

4142
- uses: ./.github/actions/install-deps
4243
with:
43-
options: full
44+
options: ${{ matrix.options || 'full' }}
4445
groups: test
4546

4647
- name: Run tests
@@ -54,24 +55,6 @@ jobs:
5455
with:
5556
token: ${{ secrets.CODECOV_TOKEN }}
5657

57-
tests-default-install:
58-
name: Run tests with default install
59-
runs-on: ubuntu-latest
60-
steps:
61-
- name: Checkout repository
62-
uses: actions/checkout@v4
63-
64-
- uses: ./.github/actions/setup-uv
65-
66-
- uses: ./.github/actions/install-deps
67-
with:
68-
groups: test
69-
70-
- name: Run tests
71-
run: uv run pytest -W error tests/unit tests/doc --cov=src --cov-report=xml
72-
73-
- *upload-codecov
74-
7558
build-doc:
7659
name: Build doc
7760
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)