Skip to content

Commit 1279872

Browse files
committed
Test upgrading actions
1 parent cd2d176 commit 1279872

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
- name: Test
2929
run: pytest --cov=howlongtobeatpy --cov-report=xml
3030
- name: Upload coverage to Codecov
31-
uses: codecov/codecov-action@v4
31+
uses: codecov/codecov-action@v5
3232
with:
33+
fail_ci_if_error: true
34+
verbose: true
3335
token: ${{ secrets.CODECOV_TOKEN }}
34-
- name: SonarCloud Scan
35-
uses: sonarsource/sonarcloud-github-action@v2.3.0
36+
- name: SonarQube Scan
37+
uses: SonarSource/sonarqube-scan-action@v4
3638
env:
3739
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3840
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ jobs:
3535
- name: Test
3636
run: pytest --cov=howlongtobeatpy --cov-report=xml
3737
- name: Upload coverage to Codecov
38-
uses: codecov/codecov-action@v4
38+
uses: codecov/codecov-action@v5
3939
with:
40+
fail_ci_if_error: true
41+
verbose: true
4042
token: ${{ secrets.CODECOV_TOKEN }}
41-
- name: SonarCloud Scan
42-
uses: sonarsource/sonarcloud-github-action@v2.3.0
43+
- name: SonarQube Scan
44+
uses: SonarSource/sonarqube-scan-action@v4
4345
env:
4446
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4547
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ coverage:
44
- "howlongtobeatpy/tests/test_async_request.py"
55
- "howlongtobeatpy/tests/test_async_request_by_id.py"
66
- "howlongtobeatpy/tests/test_normal_request_by_id.py"
7+
- "howlongtobeatpy/setup.py"

0 commit comments

Comments
 (0)