From 6360d8a58d252f40c4eb11159e82230d898c0854 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Sun, 10 Mar 2024 05:43:09 +0000 Subject: [PATCH] chore: add source into coverage --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13f6d6e..0ee2a2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,10 @@ jobs: cache: 'pipenv' - run: pip install pipenv - run: pipenv install --dev -v - - run: pipenv run coverage run -m pytest + - run: pipenv run coverage run --source=app -m pytest - 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