Skip to content

Commit c5cecb9

Browse files
authored
Merge pull request #63 from zkarpinski/add-codecov
add codecov
2 parents e154e35 + c0b34f0 commit c5cecb9

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/testing.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,13 @@ jobs:
4444
- name: Install dependencies
4545
run: poetry install -v
4646
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
47-
4847
- name: Run pytest
4948
run: |
5049
source .venv/bin/activate
51-
poetry run pytest
50+
poetry run pytest --cov app
51+
- name: Upload coverage to Codecov
52+
uses: codecov/codecov-action@v4
53+
with:
54+
verbose: true
55+
env:
56+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)