Skip to content

Commit

Permalink
Configure pytest-cov for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
br3ndonland committed Sep 13, 2020
1 parent 308fd93 commit 76b4e38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Run pre-commit hooks
run: pre-commit run --all-files
- name: Run unit tests
run: pytest
run: pytest --cov-report=xml
- name: Build Python package and publish to PyPI
if: startsWith(github.ref, 'refs/tags/')
run: poetry publish --build -u __token__ -p ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction -E fastapi
- name: Run unit tests
run: pytest
run: pytest --cov-report=xml

0 comments on commit 76b4e38

Please sign in to comment.