Skip to content

Commit 92589f1

Browse files
fix: correct codecov-action parameter and simplify for Unix only
- Change 'file' to 'files' parameter for codecov-action@v5 - Remove Windows from test matrix (macOS and Ubuntu only) - Use simple venv activation without Windows detection - Use maturin develop as in release branch
1 parent 611502b commit 92589f1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run_tests:
2222
strategy:
2323
matrix:
24-
os: [macos-latest, ubuntu-latest, windows-latest]
24+
os: [macos-latest, ubuntu-latest]
2525
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2626
runs-on: ${{ matrix.os }}
2727
steps:
@@ -34,15 +34,13 @@ jobs:
3434
- name: Install Rust Toolchain
3535
run: rustup toolchain install stable --profile minimal --no-self-update
3636
- name: Install requirements
37-
shell: bash
3837
run: |
3938
python -m venv venv
4039
source venv/bin/activate
4140
pip install maturin
4241
pip install -r tests/requirements.txt
4342
maturin develop
4443
- name: Run tests
45-
shell: bash
4644
run: |
4745
source venv/bin/activate
4846
python -m pytest --cov-report=xml:coverage.xml --cov=. --junitxml=unit.junit.xml
@@ -53,7 +51,7 @@ jobs:
5351
with:
5452
token: ${{ secrets.CODECOV_ORG_TOKEN }}
5553
url: ${{ secrets.CODECOV_URL }}
56-
file: unit.junit.xml
54+
files: unit.junit.xml
5755
disable_search: true
5856
report_type: test-results
5957

@@ -63,6 +61,6 @@ jobs:
6361
with:
6462
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}
6563
url: ${{ secrets.CODECOV_STAGING_API_URL }}
66-
file: unit.junit.xml
64+
files: unit.junit.xml
6765
disable_search: true
6866
report_type: test-results

0 commit comments

Comments
 (0)