Skip to content

Commit cfded32

Browse files
committed
First test to update codecov upload configuration
1 parent 729ead2 commit cfded32

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/python-test-dev.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,15 @@ jobs:
2424
cd howlongtobeatpy
2525
python -m pip install --upgrade pip
2626
pip install -U pytest
27-
pip install codecov
2827
pip install .
2928
- name: Test
3029
run: |
3130
coverage run -m pytest -v && coverage report -m
3231
coverage xml
33-
- name: Upload Coverage codecov
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
37-
run: |
38-
codecov
32+
- name: Upload coverage to Codecov
33+
uses: codecov/codecov-action@v3
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }}
3936
- name: SonarCloud Scan
4037
uses: sonarsource/sonarcloud-github-action@master
4138
env:

0 commit comments

Comments
 (0)