Adds sonar to app (#163)

* adds sonar to app-next

* fix yaml tab

* adds test inclusions
This commit is contained in:
WoLfulus
2020-03-11 14:36:33 -03:00
committed by GitHub
parent 2c5a56acfc
commit ceead2f93d
5 changed files with 38 additions and 6 deletions

View File

@@ -26,3 +26,9 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Sonar Scanner
uses: sonarsource/sonarcloud-github-action@master
if: success() && github.repository == 'directus/app-next' && github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}