Skip to content

Commit e2113ea

Browse files
Merge pull request #1 from minvws/michaelplet777-patch-1-1
Add SonarQube workflow for CI/CD pipeline
2 parents 3716d3d + 7c5eaf1 commit e2113ea

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/sonar.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
8+
jobs:
9+
sonarqube:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
13+
with:
14+
fetch-depth: 0
15+
- name: SonarQube Scan
16+
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602
17+
env:
18+
SONAR_HOST_URL: https://sonarcloud.io
19+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-project.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sonar.projectKey=minvws_gfmodules-test-utils-python-web
2+
sonar.organization=vws

0 commit comments

Comments
 (0)