Skip to content

Commit

Permalink
feat: use sonar cloud?
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Jun 17, 2024
1 parent 1843a3f commit 1296ece
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ jobs:
npm i -g @vitest/coverage-v8
cd cahfrontend
npx vitest run --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@2.3.0
with:
fail_ci_if_error: yes
files: ./backend/coverage.out,./cahfrontend/coverage/coverage-final.json
verbose: yes
env:
CODECOV_TOKEN: ${{ secrets.CODECOVIO }}
args: >
-Dsonar.go.coverage.reportPaths=backend/coverage.out
-Dsonar.javascript.lcov.reportPaths=cahfrontend/coverage/lcov.info

0 comments on commit 1296ece

Please sign in to comment.