Skip to content

Commit 8bb6880

Browse files
author
Inbal Tako
committed
Add codecov github actions
1 parent 4d95738 commit 8bb6880

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ jobs:
3333
pip install -r requirements.txt
3434
pip install pytest pytest-cov responses codecov requests-mock
3535
- name: Test with pytest
36-
env:
37-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3836
run: |
3937
pytest --cov=./
40-
bash <(curl -s https://codecov.io/bash)
38+
- name: Upload coverage to Codecov
39+
uses: codecov/codecov-action@v1
40+
with:
41+
token: ${{ secrets.CODECOV_TOKEN }}
4142

4243
- name: Notify slack success
4344
if: success()

0 commit comments

Comments
 (0)