We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862407a commit 282021bCopy full SHA for 282021b
.github/workflows/quality.yml
@@ -1,9 +1,9 @@
1
name: quality
2
3
on:
4
- push:
5
- pull_request:
6
- types: [opened, reopened]
+ push:
+ pull_request:
+ types: [opened, reopened]
7
8
jobs:
9
sonarcloud:
@@ -22,8 +22,8 @@ jobs:
22
run: pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml tests/
23
- name: Correct coverage paths
24
run: sed -i "s+$PWD/++g" coverage.xml
25
- - name: SonarCloud Scan
26
- uses: sonarsource/sonarcloud-github-action@master
+ - name: SonarQube Scan
+ uses: SonarSource/sonarqube-scan-action@v5.0.0
27
env:
28
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+ SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
0 commit comments