Skip to content

Commit d0bf798

Browse files
committed
Try setting separate test steps for Windows vs Linux/Mac
1 parent 0705adc commit d0bf798

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,15 @@ jobs:
3535
- name: Install the project
3636
run: uv sync --all-extras --dev
3737

38-
- name: Run tests
38+
- name: Run Windows tests
3939
if: runner.os == 'Windows'
4040
shell: cmd
4141
run: uv run python -Xutf8 -m pytest --cov --cov-config=pyproject.toml --cov-report=xml tests
4242

43+
- name: Run Mac/Linux tests
44+
if: runner.os == 'Linux' || runner.os == 'macOS'
45+
run: uv run python -Xutf8 -m pytest --cov --cov-config=pyproject.toml --cov-report=xml tests
46+
4347
- name: Upload test results to Codecov
4448
if: ${{ !cancelled() }}
4549
uses: codecov/test-results-action@v1

0 commit comments

Comments
 (0)