Add SonarCloud scanner

Cette révision appartient à :
Stéphane Goetz 2020-04-22 23:23:39 +02:00
Parent 765fc8963e
révision d4832b2ca4
1 fichiers modifiés avec 6 ajouts et 0 suppressions

Voir le fichier

@ -64,6 +64,12 @@ jobs:
- name: fix code coverage paths
run: sed -i 's/\/home\/runner\/work\/daux.io\/daux.io\//\/github\/workspace\//g' coverage.clover
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
documentation:
runs-on: ubuntu-latest
if: github.repository == 'dauxio/daux.io' && github.event_name != 'pull_request' && github.ref == 'refs/heads/master'