Skip to content

Commit

Permalink
Update build CI to work better with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Feb 15, 2023
1 parent 33788e6 commit 5e17f5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python -m tox
- name: Upload Results
if: success()
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ deps=
-rrequirements/project.txt
-rrequirements/test.txt
commands=
{envbindir}/mypy
{envbindir}/py.test --cov bracex --cov-append tests
{envbindir}/coverage html -d {envtmpdir}/coverage
{envbindir}/coverage xml
{envbindir}/coverage report --show-missing
{envpython} -m mypy
{envpython} -m pytest --cov bracex --cov-append tests
{envpython} -m coverage html -d {envtmpdir}/coverage
{envpython} -m coverage xml
{envpython} -m coverage report --show-missing

[testenv:lint]
passenv= *
Expand Down

0 comments on commit 5e17f5e

Please sign in to comment.