Skip to content

Commit 4b443fa

Browse files
authored
Merge pull request #27 from cloudblue/sonar-quality-gate-check
Verification that sonar passes
2 parents 8f2210d + 0378628 commit 4b443fa

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ jobs:
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
49+
- name: SonarQube Quality Gate check
50+
uses: sonarsource/sonarqube-quality-gate-action@master
51+
timeout-minutes: 5
52+
env:
53+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
47+
- name: SonarQube Quality Gate check
48+
uses: sonarsource/sonarqube-quality-gate-action@master
49+
timeout-minutes: 5
50+
env:
51+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4752
- name: Publish to PyPI
4853
env:
4954
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)