Skip to content

Commit

Permalink
Merge pull request #7 from kyrofa/test/coverage
Browse files Browse the repository at this point in the history
Add code coverage
  • Loading branch information
kyrofa authored Dec 12, 2024
2 parents 995acba + 253eecc commit 975e1fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ old
dist
*.egg-info
*.swp

.coverage
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pytest==8.3.3
pytest-qt==4.4.0
pytest-cov==5.0.0
black==24.8.0
flake8==7.1.1
mypy==1.13.0
2 changes: 1 addition & 1 deletion run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ if [ "$run_static" = true ]; then
fi

if [ "$run_unit" = true ]; then
python3 -m pytest
python3 -m pytest --cov=uaclient
fi

0 comments on commit 975e1fc

Please sign in to comment.