Skip to content

Commit

Permalink
Updated tox
Browse files Browse the repository at this point in the history
  • Loading branch information
collinsmarra committed Feb 25, 2024
1 parent fe962be commit 5267a4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run: python -m pip install --upgrade pip wheel
- run: pip install tox tox-gh-actions
- run: tox
- run: pip install tox tox-gh-actions pytest-cov codecov
- run: pytest --cov=./ --cov-report=xml
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ python =
commands=
python -m pip install -e .
python -m pip install {env:QUART_VERSION:quart>=0.19.0}
python -m pytest -W ignore::DeprecationWarning -p no:logging --cov-branch --cov-report=term-missing --cov-report=xml
python -m pytest -W ignore::DeprecationWarning -p no:logging --cov=src --cov-report=term-missing --cov-report=xml
deps=
asgiref<3.7
pytest
Expand Down

0 comments on commit 5267a4e

Please sign in to comment.