mirror of
https://github.com/dzeiocom/libs.git
synced 2025-06-21 15:09:19 +00:00
Move from codecov to sonarqube (#45)
* replaced Signed-off-by: Avior <github@avior.me> * this is stupid Signed-off-by: Avior <github@avior.me> * run sonar only on latest node version Signed-off-by: Avior <github@avior.me> * try to use code coverage Signed-off-by: Avior <github@avior.me> * Fixed? Signed-off-by: Avior <github@avior.me> * try another way to send report files Signed-off-by: Avior <github@avior.me> * prrrrrrrrrrrrrrr Signed-off-by: Avior <github@avior.me> * prrrrrrrrrr2 Signed-off-by: Avior <github@avior.me> * prrrrrrrrrrrrrrrrrrr3 Signed-off-by: Avior <github@avior.me> * prrrrrrrrrrrrrrr15 Signed-off-by: Avior <github@avior.me> * prrrrrrrrrrrrr9001 Signed-off-by: Avior <github@avior.me>
This commit is contained in:
12
.github/workflows/node.js.yml
vendored
12
.github/workflows/node.js.yml
vendored
@ -39,12 +39,18 @@ jobs:
|
||||
run: npm run test --workspaces --if-present
|
||||
|
||||
- uses: sonarsource/sonarcloud-github-action@master
|
||||
if: matrix.node-version == '16.x'
|
||||
with:
|
||||
args: >
|
||||
-Dsonar.organization=dzeio
|
||||
-Dsonar.projectKey=libs
|
||||
-Dsonar.python.coverage.reportPaths=packages/**/coverage/clover.xml
|
||||
-Dsonar.sources=.
|
||||
-Dsonar.projectKey=dzeiocom_libs
|
||||
-Dsonar.javascript.lcov.reportPaths=packages/**/coverage/lcov.info
|
||||
-Dsonar.testExecutionReportPaths=packages/easy-sitemap/test-report.xml,packages/object-util/test-report.xml,packages/url-manager/test-report.xml
|
||||
-Dsonar.sources=packages
|
||||
-Dsonar.exclusions=packages/**/__tests__,packages/**/dist,node_modules,packages/**/coverage
|
||||
-Dsonar.tests=packages/easy-sitemap/__tests__,packages/object-util/__tests__,packages/url-manager/__tests__
|
||||
-Dsonar.test.inclusions=packages/**/*.test.ts
|
||||
-Dsonar.sourceEncoding=UTF-8
|
||||
-Dsonar.verbose=true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Reference in New Issue
Block a user