Skip to content

Commit

Permalink
ci: test coverage, closes #35
Browse files Browse the repository at this point in the history
  • Loading branch information
sehoffmann committed Jan 6, 2025
1 parent ab32d2c commit 720ad48
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
run: |
pip install .
- name: Run Tests
run:
pytest --no-header -v test
- name: Run tests & coverage
run: |
coverage run -m pytest --no-header -v test
coverage report -m
coverage html
- name: Archive coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: htmlcov
1 change: 1 addition & 0 deletions ci_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ pre-commit
pytest
sphinx
sphinx-rtd-theme
coverage
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ xarray
progress_table>=2.2.0
omegaconf
torchmetrics
nvidia-ml-py
nvidia-ml-py

0 comments on commit 720ad48

Please sign in to comment.