Skip to content

Commit 2e6e7be

Browse files
committed
check codecov secret
1 parent cab554b commit 2e6e7be

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/run_tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ jobs:
2222
run: python -m pytest tests -m "not slow"
2323

2424
- name: Run unit tests with coverage
25-
run: |
26-
coverage run --source=effector -m pytest tests -m "not slow"
27-
coverage report -m
28-
coverage xml
25+
run: pytest --cov --cov-branch --cov-report=xml
2926

3027
- name: Upload coverage to Codecov
31-
uses: codecov/codecov-action@v4
28+
uses: codecov/codecov-action@v5
3229
with:
33-
files: ./coverage.xml
34-
fail_ci_if_error: true
30+
token: ${{ secrets.CODECOV_TOKEN }}
31+
slug: givasile/effector

0 commit comments

Comments
 (0)