diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5956ce12..d201266c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,8 +83,8 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@v4 with: - file: ./coverage.xml - flags: unit + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} check: # This job does nothing and is only used for the branch protection if: always() diff --git a/setup.cfg b/setup.cfg index 960f1015..0fa7a551 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [tool:pytest] -addopts = --cov=aiohttp_devtools --cov-report term +addopts = --cov=aiohttp_devtools --cov=tests --cov-report term asyncio_mode = auto testpaths = tests/ filterwarnings =