We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6ccd4 commit e23cee4Copy full SHA for e23cee4
.github/workflows/build.yml
@@ -34,7 +34,14 @@ jobs:
34
35
- name: Run tests
36
run: |
37
- pytest -v --cov=mediafile --cov-report=xml tests/
+ pytest -v --cov=mediafile --cov=mediafile --cov-report=xml --cov-report=html test/
38
+ - name: Upload coverage reports
39
+ if: matrix.os == 'ubuntu-24.04' && matrix.python-version == env.MAIN_PYTHON_VERSION
40
+ uses: actions/upload-artifact@v4
41
+ with:
42
+ name: coverage-${{ github.run_id }}
43
+ path: htmlcov/
44
+ retention-days: 30
45
46
style:
47
name: Style
pyproject.toml
@@ -35,7 +35,8 @@ Source = "https://github.com/beetbox/mediafile"
[project.optional-dependencies]
dev = [
"ruff",
- "pytest"
+ "pytest",
+ "pytest-cov"
]
[tool.ruff]
0 commit comments