Skip to content

Commit

Permalink
ENH: add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Oct 27, 2023
1 parent ab75307 commit 5f79490
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ jobs:
python -m pip install tox
- name: Run Linter
run: tox -e lint -- virtual_resources
- name: Run Tests
- name: Run Tests with coverage
run: tox -e pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist = lint,pytest
deps =
-rrequirements-dev.txt
commands =
pytest {posargs}
pytest --cov=virtual_resources {posargs}

[testenv:lint]
skip_install = true
Expand Down

0 comments on commit 5f79490

Please # to comment.