Skip to content

Commit

Permalink
Fix coverage read by coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Mar 4, 2024
1 parent 10c0c19 commit 1e9de40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
with:
parallel: true
flag-name: run-${{ matrix.python-version }}
file: ./coverage.xml

coverage:
needs: tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.pyc
*.swo
*.swp
*.xml
~*
*~
.project
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ good-names = ["e"]
[tool.pytest.ini_options]
# Configuration for [pytest](https://docs.pytest.org)
python_files = "test_*.py"
addopts = '--cov-report xml'

[tool.coverage.run]
# Configuration of [coverage.py](https://coverage.readthedocs.io)
Expand Down

0 comments on commit 1e9de40

Please sign in to comment.