Skip to content

Commit

Permalink
Use XML coverage report because python coverage is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Apr 11, 2024
1 parent 8db9c82 commit aa05a13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yaml
Expand Up @@ -35,11 +35,15 @@ jobs:
- run: poetry run ruff check
- run: poetry run pyright --warnings
- run: poetry run pytest
- run: poetry run coverage xml
- uses: coverallsapp/github-action@v2
if: >
github.event_name == 'pull_request' &&
matrix.python-version == '3.8' &&
matrix.os == 'ubuntu-latest'
with:
# Ignore .coverage, which has limited support from coveralls
file: coverage.xml

build-beets-master:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -30,6 +30,7 @@ beets = "^1.6.0"

[tool.poetry.group.dev.dependencies]
confuse = "^2.0.1"
coverage = "^7.4.4"
mediafile = "^0.12.0"
mock = "^5.0.2"
pyright = "^1.1.340"
Expand Down

0 comments on commit aa05a13

Please sign in to comment.