1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-04-22 10:52:11 +00:00

Move from codecov to sonarqube (#44)

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
Florian Bouillon 2021-09-29 11:55:04 +02:00 committed by GitHub
parent 7ce7daf751
commit 018f8e043a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,9 +38,14 @@ jobs:
- name: Test packages - name: Test packages
run: npm run test --workspaces --if-present run: npm run test --workspaces --if-present
# You may pin to the exact commit or the version. - uses: sonarsource/sonarcloud-github-action@master
# uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
- uses: codecov/codecov-action@v2.1.0
with: with:
# Comma-separated list of files to upload args: >
files: ./packages/url-manager/coverage/coverage-final.json,./packages/object-util/coverage/coverage-final.json,./packages/easy-sitemap/coverage/coverage-final.json # optional -Dsonar.organization=dzeio
-Dsonar.projectKey=libs
-Dsonar.python.coverage.reportPaths=packages/**/coverage/clover.xml
-Dsonar.sources=.
-Dsonar.verbose=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}