Update run-tests.yml

Guess that I don't need to do this explicitly ... who knew?!
This commit is contained in:
dave-shawley 2021-04-07 08:02:13 -04:00 committed by GitHub
parent d7b4fc568b
commit 6832ea8ee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,22 +48,3 @@ jobs:
with: with:
name: coverage.xml name: coverage.xml
path: ./coverage.xml path: ./coverage.xml
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: test
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Download coverage report
uses: actions/download-artifact@v2
with:
name: coverage.xml
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}