File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- name : SonarCloud
1+ name : Sonars
22on :
33 push :
44 branches :
99 types : [ opened, synchronize, reopened ]
1010jobs :
1111 sonarcloud :
12- name : SonarCloud
12+ name : Sonars
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
15+ - name : Checkout code
16+ uses : actions/checkout@v2
1617 with :
1718 fetch-depth : 0
1819
@@ -25,15 +26,15 @@ jobs:
2526 - name : Install dependencies with composer
2627 run : composer update --no-ansi --no-interaction --no-progress
2728
28- - name : Generate coverage report with phpunit/phpunit
29+ - name : Generate coverage report with phpunit
2930 run : vendor/bin/phpunit --coverage-clover coverage.xml --log-junit report.xml
3031
3132 - name : Monitor coverage
3233 uses : slavcodev/coverage-monitor-action@v1
3334 with :
34- github_token : ${{ secrets.SECRET_GITHUB_TOKEN }}
35+ github_token : ${{ secrets.ACTIONS_GITHUB_TOKEN }}
3536 coverage_path : coverage.xml
36- threshold_alert : 75
37+ threshold_alert : 90
3738 threshold_warning : 95
3839
3940 - name : Codecov analyze
4748 - name : SonarCloud Scan
4849 uses : SonarSource/sonarcloud-github-action@master
4950 env :
51+ GITHUB_TOKEN : ${{ secrets.ACTIONS_GITHUB_TOKEN }}
5052 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments