Skip to content

Commit

Permalink
Fixed test failures being masked on Windows by coverage xml
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Dec 3, 2023
1 parent 3542f5a commit 8ad9270
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
- name: Install the project and its dependencies
run: pip install -e .[test]
- name: Test with pytest
run: |
coverage run -m pytest -v
coverage xml
run: coverage run -m pytest -v
- name: Generate coverage report
run: coverage xml
- name: Upload Coverage
uses: coverallsapp/github-action@v2
with:
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
- name: Install the project and its dependencies
run: pip install -e .[test]
- name: Test with pytest
run: |
coverage run -m pytest -v -m "not external_service"
coverage xml
run: coverage run -m pytest -v -m "not external_service"
- name: Generate coverage report
run: coverage xml
- name: Upload Coverage
uses: coverallsapp/github-action@v2
with:
Expand Down

0 comments on commit 8ad9270

Please sign in to comment.