We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4503bd7 commit 5bfc01cCopy full SHA for 5bfc01c
.github/workflows/ci.yml
@@ -29,6 +29,18 @@ jobs:
29
- run: pip install -r requirements_dev.txt
30
- run: pytest tests/unit tests/integration --cov=. --cov-report=xml:coverage.xml --cov-report=html --cov-report=json -vv -s
31
32
+ - name: SonarCloud Scan
33
+ uses: SonarSource/sonarqube-scan-action@master
34
+ if: github.event_name == 'pull_request'
35
+ env:
36
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
37
+ with:
38
+ args: >
39
+ -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }}
40
+ -Dsonar.pullrequest.key=${{ env.PR_NUMBER }}
41
+ -Dsonar.pullrequest.branch=${{ env.PR_HEAD }}
42
+ -Dsonar.pullrequest.base=${{ env.PR_BASE }}
43
+
44
black:
45
name: Run black
46
runs-on: ubuntu-latest
sonar-project.properties
0 commit comments