File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 8
8
# Allow manually triggering the workflow.
9
9
workflow_dispatch :
10
10
11
+ permissions :
12
+ checks : write
13
+ pull-requests : write
14
+
11
15
jobs :
12
16
unit-tests :
13
17
runs-on : ${{ matrix.operating-system }}
38
42
uses : shivammathur/setup-php@v2
39
43
with :
40
44
php-version : ${{ matrix.php-versions }}
41
- coverage : pcov # optional, setup coverage driver
45
+ coverage : xdebug # optional, setup coverage driver
42
46
env :
43
47
COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
48
@@ -111,13 +115,13 @@ jobs:
111
115
github_token : ${{ secrets.GITHUB_TOKEN }}
112
116
files : tests/logging/*.xml
113
117
114
- - name : SonarCloud Scan
115
- uses : SonarSource/sonarcloud-github -action@master
118
+ - name : SonarQube Scan
119
+ uses : SonarSource/sonarqube-scan -action@v5
116
120
continue-on-error : true
117
- if : ${{ (matrix.php-versions == '8.1') && (matrix.mysql-version == '5.7') }} && SONAR_TOKEN
121
+ if : ${{ (matrix.php-versions == '8.1') && (matrix.mysql-version == '5.7') }}
118
122
with :
119
123
args : >
120
124
-Dproject.settings=tests/sonar-project.properties
121
125
env :
122
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
126
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
123
127
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1
- sonar.projectKey =openmage -lts
2
- sonar.organization =openmage
1
+ sonar.projectKey =OpenMage_magento -lts
2
+ sonar.organization =OpenMage
3
3
4
4
# This is the name and version displayed in the SonarCloud UI.
5
5
# sonar.projectName=openmage-lts
You can’t perform that action at this time.
0 commit comments