diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ee2a2e..f0821b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push jobs: test-python: - name: test python + name: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -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