Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4871e19

Browse files
Run build pipeline also for PHP 8.1 (#101)
* Build also for PHP 8.1 * Remove default for run-sonarqube-analysis variable
1 parent 7c9fde5 commit 4871e19

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎.github/workflows/tests.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ jobs:
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 }}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /