From c0b34f02007390be8947979b526b77a7d261b901 Mon Sep 17 00:00:00 2001 From: Zachary Karpinski Date: Wed, 5 Jun 2024 23:17:17 -0400 Subject: [PATCH] add codecov --- .github/workflows/testing.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5729bd2..7867b64 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -44,8 +44,13 @@ jobs: - name: Install dependencies run: poetry install -v if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - - name: Run pytest run: | source .venv/bin/activate - poetry run pytest + poetry run pytest --cov app + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}