Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
fix: correct the report generation for coverage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Mar 10, 2024
1 parent 6360d8a commit 4465a3f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

jobs:
test-python:
name: test python
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,9 +15,10 @@ jobs:
- run: pip install pipenv
- run: pipenv install --dev -v
- run: pipenv run coverage run --source=app -m pytest
- run: pipenv run coverage report
- run: pipenv run coverage xml
- run: pipenv run mypy .
- run: pipenv run pylint --enable-all-extensions --fail-under 5 app
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: 1995parham-learning/fastapi101
files: coverage.xml

0 comments on commit 4465a3f

Please sign in to comment.