File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 3434
3535 - name : Run tests
3636 run : |
37- pytest -v --cov=mediafile --cov-report=xml tests/
37+ 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.ref_name }}-${{ github.sha }}
43+ path : htmlcov/
44+ retention-days : 30
3845
3946 style :
4047 name : Style
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ Source = "https://github.com/beetbox/mediafile"
3535[project .optional-dependencies ]
3636dev = [
3737 " ruff" ,
38- " pytest"
38+ " pytest" ,
39+ " pytest-cov"
3940]
4041
4142[tool .ruff ]
You can’t perform that action at this time.
0 commit comments