File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1515
1616 strategy :
1717 matrix :
18- php-version : ['7.4', '8.0']
18+ php-version : ['7.4', '8.0', '8.1' ]
1919 mqtt-broker : ['mosquitto', 'hivemq', 'emqx', 'rabbitmq']
20+ include :
21+ - php-version : ' 8.1'
22+ mqtt-broker : ' mosquitto'
23+ run-sonarqube-analysis : true
2024
2125 steps :
2226 - uses : actions/checkout@v3
@@ -112,14 +116,14 @@ jobs:
112116 uses : jwalton/gh-docker-logs@v2
113117
114118 - name : Prepare paths for SonarQube analysis
115- if : matrix.php-version == '8.0' && matrix.mqtt-broker == 'mosquitto'
119+ if : matrix.run-sonarqube-analysis
116120 run : |
117121 sed -i "s|$GITHUB_WORKSPACE|/github/workspace|g" phpunit.coverage-clover.xml
118122 sed -i "s|$GITHUB_WORKSPACE|/github/workspace|g" phpunit.report-junit.xml
119123
120124 - name : Run SonarQube analysis
121125 uses : sonarsource/sonarcloud-github-action@v1.6
122- if : matrix.php-version == '8.0' && matrix.mqtt-broker == 'mosquitto'
126+ if : matrix.run-sonarqube-analysis
123127 env :
124128 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
125129 SONAR_TOKEN : ${{ secrets.SONARCLOUD_TOKEN }}
You can’t perform that action at this time.
0 commit comments