Skip to content

Commit bb7db2c

Browse files
authored
added codecov
1 parent e8a593b commit bb7db2c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,14 @@ jobs:
4545
4646
- name: Run pre-commit
4747
run: pre-commit run --all-files
48+
49+
- name: Install dependencies
50+
run: pip install pytest pytest-cov
51+
52+
- name: Run tests
53+
run: pytest --cov --cov-branch --cov-report=xml
54+
55+
- name: Upload results to Codecov
56+
uses: codecov/codecov-action@v5
57+
with:
58+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)