Skip to content

Commit 01748f2

Browse files
committed
βž• Add new process about triggering sonarqube cloud service.
1 parent 3cdc86b commit 01748f2

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

β€Ž.github/workflows/test_pyproject_ci_multi-tests_by_poetry.yamlβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,17 @@ jobs:
112112
upload-to-codacy: true
113113

114114

115+
sonarqube_finish:
116+
# name: Trigger SoarQube service to scan and analyse project
117+
needs: [unit-test_codecov]
118+
uses: ./.github/workflows/sonarqube_scan.yaml
119+
secrets:
120+
github_token: ${{ secrets.GITHUB_TOKEN }}
121+
sonar_token: ${{ secrets.SONAR_TOKEN }}
122+
# with:
123+
# download_path: ${{ inputs.download_path }}
124+
125+
115126
pre-building_test:
116127
# name: Check about it could work finely by installing the Python package with setup.py file
117128
# if: github.event_name == 'push' && (github.ref_name == 'release' || github.ref_name == 'master')

β€Ž.github/workflows/test_python_project_ci_one-test.yamlβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,17 @@ jobs:
9191
upload-to-codacy: true
9292

9393

94+
sonarqube_finish:
95+
# name: Trigger SoarQube service to scan and analyse project
96+
needs: [unit-test_codecov]
97+
uses: ./.github/workflows/sonarqube_scan.yaml
98+
secrets:
99+
github_token: ${{ secrets.GITHUB_TOKEN }}
100+
sonar_token: ${{ secrets.SONAR_TOKEN }}
101+
# with:
102+
# download_path: ${{ inputs.download_path }}
103+
104+
94105
pre-building_test:
95106
# name: Check about it could work finely by installing the Python package with setup.py file
96107
needs: [codecov_finish, coveralls_finish, codacy_finish]

0 commit comments

Comments
Β (0)