Skip to content

Commit

Permalink
Updated Sonar Cloud configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
evg4b committed May 12, 2024
1 parent b78e80a commit ea845e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Test JSON Parser
working-directory: ./parser
run: go test -v -timeout 1m -race -coverprofile=coverage.out ./core/...
run: go test -v -timeout 1m -race -coverprofile=coverage.out -json ./core/... > test-report.out

- name: Use Node.js
uses: actions/setup-node@v3
Expand Down
1 change: 1 addition & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ sonar.typescript.lcov.reportPaths=coverage/lcov.info
sonar.typescript.tsconfigPaths=tsconfig.json
sonar.coverage.exclusions=parser/**/*_test.go,src/**/*.test.ts
sonar.cpd.exclusions=parser/**/*_test.go,parser/main.go,src/**/*.test.ts
sonar.go.tests.reportPaths=parser/test-report.out
sonar.go.coverage.reportPaths=parser/coverage.out

0 comments on commit ea845e1

Please sign in to comment.