Skip to content

Commit

Permalink
ci: remove sonarcloud action while SONAR_TOKEN is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Bl00D4NGEL committed Feb 9, 2024
1 parent 08588d2 commit 01e2194
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,4 @@ jobs:

# Run tests
- name: Run Unit Tests
run: |
vendor/bin/phpunit --coverage-text --coverage-clover reports/coverage.xml
# SonarCloud
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: vendor/bin/phpunit

0 comments on commit 01e2194

Please sign in to comment.