File tree 2 files changed +5
-6
lines changed 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
pull_request :
8
8
types : [ opened, synchronize, reopened ]
9
9
49
49
- name : Fix coverage.xml for Sonar
50
50
run : |
51
51
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml
52
+ sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' test.xml
52
53
53
54
- name : SonarCloud Scan
54
55
uses : SonarSource/sonarcloud-github-action@master
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ sonar.projectName=Complex Heart Criteria
2
2
sonar.projectKey =ComplexHeart_php-criteria
3
3
sonar.organization =complexheart
4
4
sonar.language =php
5
- sonar.sources =./src
6
- sonar.tests =./tests
7
- sonar.inclusions =./src/**
8
- sonar.exclusions =./tests/**
5
+ sonar.sources =src
6
+ sonar.tests =tests
9
7
sonar.php.coverage.reportPaths =coverage.xml
10
- sonar.php.tests.reportPaths =phpunit .xml
8
+ sonar.php.tests.reportPath =test .xml
You can’t perform that action at this time.
0 commit comments