Skip to content

Commit 0e3f9ab

Browse files
committed
ci: add sonarcloud and codecov
1 parent c128864 commit 0e3f9ab

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci-test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,17 @@ jobs:
3838

3939
- name: Run tests
4040
run: make test
41+
42+
- name: SonarQube Scan
43+
if: matrix.os == 'ubuntu-latest'
44+
uses: SonarSource/sonarqube-scan-action@8c71dc039c2dd71d3821e89a2b58ecc7fee6ced9 # v5.3.0
45+
env:
46+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
47+
48+
- name: Upload coverage reports to Codecov
49+
if: matrix.os == 'ubuntu-latest'
50+
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
51+
with:
52+
fail_ci_if_error: true
53+
token: ${{ secrets.CODECOV_TOKEN }}
54+
verbose: true

0 commit comments

Comments
 (0)