-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6eb93b
commit 28b8a24
Showing
2 changed files
with
4 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
|
||
- name: Build Project | ||
run: yarn build | ||
|
||
- name: Test and generate coverage report | ||
uses: artiomtr/[email protected] | ||
with: | ||
|
@@ -45,7 +45,7 @@ jobs: | |
skip-step: install | ||
test-script: yarn test | ||
custom-title: Jest Coverage Report | ||
|
||
- uses: sonarsource/sonarqube-scan-action@master | ||
env: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
# Project identification | ||
sonar.organization=wednesday-solutions | ||
sonar.projectKey=wednesday-solutions_next-bulletproof-ts_AY6yu6eKB2n8RRmGoUz4 | ||
|
||
# Specify the language | ||
sonar.language=ts | ||
|
||
# Source directory | ||
sonar.sources=. | ||
|
||
# Test directory | ||
sonar.tests=src | ||
|
||
# Exclude node_modules | ||
# Let's not exclude anything for now, after refractoring changes we can decide what to exclude from the analysis | ||
sonar.exclusions=node_modules/**/*,lighthouserc.js | ||
|
||
sonar.test.inclusions=**/*.test.tsx,**/*.test.js,**/*.test.ts | ||
sonar.javascript.lcov.reportPaths=./coverage/lcov.info | ||
sonar.testExecutionReportPaths=./reports/test-report.xml | ||
|
||
sonar.javascript.lcov.reportPaths=coverage/lcov.info | ||
sonar.testExecutionReportPaths=reports/test-report.xml | ||
# Encoding of the source code | ||
sonar.sourceEncoding=UTF-8 | ||
|
||
# Coverage report path | ||
sonar.javascript.lcov.reportPaths=coverage/lcov.info | ||
|
||
# Test execution report path | ||
sonar.testExecutionReportPaths=./reports/test-report.xml |