File tree Expand file tree Collapse file tree 3 files changed +8
-14
lines changed
Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 2727 pip install .
2828 - name : Test
2929 run : |
30- coverage run -m pytest -v && coverage report -m
31- coverage xml
30+ pytest --cov=howlongtobeatpy --cov-report=xml
3231 - name : Upload coverage to Codecov
3332 uses : codecov/codecov-action@v3
3433 with :
Original file line number Diff line number Diff line change 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 : |
31- coverage run -m pytest -v && coverage report -m
32- coverage xml
30+ pytest --cov=howlongtobeatpy --cov-report=xml
Original file line number Diff line number Diff line change @@ -31,17 +31,14 @@ jobs:
3131 run : |
3232 python -m pip install --upgrade pip
3333 pip install -U pytest
34- pip install howlongtobeatpy codecov
34+ pip install howlongtobeatpy
3535 - name : Test
3636 run : |
37- coverage run -m pytest -v && coverage report -m
38- coverage xml
39- - name : Upload Coverage codecov
40- env :
41- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
43- run : |
44- codecov
37+ pytest --cov=howlongtobeatpy --cov-report=xml
38+ - name : Upload coverage to Codecov
39+ uses : codecov/codecov-action@v3
40+ with :
41+ token : ${{ secrets.CODECOV_TOKEN }}
4542 - name : SonarCloud Scan
4643 uses : sonarsource/sonarcloud-github-action@master
4744 env :
You can’t perform that action at this time.
0 commit comments