Switch SonarQube Cloud action
This commit is contained in:
parent
aa40b49980
commit
d661a1a303
4
.github/workflows/ci-docker.yml
vendored
4
.github/workflows/ci-docker.yml
vendored
@ -21,8 +21,8 @@ jobs:
|
|||||||
output-file: hadolint.out
|
output-file: hadolint.out
|
||||||
format: sonarqube
|
format: sonarqube
|
||||||
no-fail: true
|
no-fail: true
|
||||||
- name: SonarCloud Scan
|
- name: SonarQube Cloud Scan
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
uses: SonarSource/sonarqube-scan-action@v4.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
@ -48,8 +48,8 @@ jobs:
|
|||||||
poetry run coverage run -m pytest -v --junitxml=testresults.xml
|
poetry run coverage run -m pytest -v --junitxml=testresults.xml
|
||||||
poetry run coverage xml
|
poetry run coverage xml
|
||||||
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
||||||
- name: SonarCloud Scan
|
- name: SonarQube Cloud Scan
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
uses: SonarSource/sonarqube-scan-action@v4.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
4
.github/workflows/ci-python-poetry.yml
vendored
4
.github/workflows/ci-python-poetry.yml
vendored
@ -40,8 +40,8 @@ jobs:
|
|||||||
poetry run coverage run -m pytest -v --junitxml=testresults.xml
|
poetry run coverage run -m pytest -v --junitxml=testresults.xml
|
||||||
poetry run coverage xml
|
poetry run coverage xml
|
||||||
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
||||||
- name: SonarCloud Scan
|
- name: SonarQube Cloud Scan
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
uses: SonarSource/sonarqube-scan-action@v4.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
4
.github/workflows/ci-python-with-docker.yml
vendored
4
.github/workflows/ci-python-with-docker.yml
vendored
@ -49,8 +49,8 @@ jobs:
|
|||||||
coverage run -m pytest -v --junitxml=testresults.xml
|
coverage run -m pytest -v --junitxml=testresults.xml
|
||||||
coverage xml
|
coverage xml
|
||||||
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
||||||
- name: SonarCloud Scan
|
- name: SonarQube Cloud Scan
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
uses: SonarSource/sonarqube-scan-action@v4.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
4
.github/workflows/ci-python.yml
vendored
4
.github/workflows/ci-python.yml
vendored
@ -43,8 +43,8 @@ jobs:
|
|||||||
coverage run -m pytest -v --junitxml=testresults.xml
|
coverage run -m pytest -v --junitxml=testresults.xml
|
||||||
coverage xml
|
coverage xml
|
||||||
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml
|
||||||
- name: SonarCloud Scan
|
- name: SonarQube Cloud Scan
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
uses: SonarSource/sonarqube-scan-action@v4.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user