Skip to content

Commit 24e6b55

Browse files
committed
Run sonarcloud after pytest
1 parent 0a4ca44 commit 24e6b55

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

‎.github/workflows/validate.yml‎

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
run: |
3434
pytest --cov=objdictgen --cov-report=xml --cov-branch -p no:logging --tb=no
3535
36+
- name: SonarCloud Scan
37+
uses: SonarSource/sonarqube-scan-action@v6.0.0
38+
env:
39+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
40+
3641

3742
mypy:
3843
name: Static type analysis
@@ -69,16 +74,3 @@ jobs:
6974
with:
7075
args: check --exit-zero
7176
src: "."
72-
73-
74-
sonar:
75-
name: Code analysis
76-
runs-on: ubuntu-latest
77-
steps:
78-
- name: Checkout the repository
79-
uses: actions/checkout@v5
80-
81-
- name: SonarCloud Scan
82-
uses: SonarSource/sonarqube-scan-action@v6.0.0
83-
env:
84-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)