This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
name: CI-Testsonar-4
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, testing]
|
||||
pull_request:
|
||||
branches: [main, testing]
|
||||
|
||||
jobs:
|
||||
sonar:
|
||||
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/qualitytest.yml@v0.2
|
||||
with:
|
||||
project_key: ${{ gitea.event.repository.name }}
|
||||
secrets:
|
||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run SonarQube Scan
|
||||
uses: Rajendra.Reddy/wdipl-actions/actions/sonar@main
|
||||
with:
|
||||
sonar_host_url: ${{ secrets.SONARQUBE_HOST }}
|
||||
sonar_token: ${{ secrets.SONARQUBE_TOKEN }}
|
||||
wait_for_quality_gate: true
|
||||
Reference in New Issue
Block a user