Skip to content

Commit 28545aa

Browse files
authored
Merge pull request #398 from bavix/ci-upgrade
adding php 8.1 support to github actions
2 parents 1adf777 + ce9962a commit 28545aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/phpunits.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
php-versions: [7.4, 8.0]
20+
php-versions: [7.4, 8.0, 8.1]
2121
databases: [testing, pgsql, mysql, mariadb]
2222
caches: [array, redis, memcached]
2323

@@ -118,6 +118,7 @@ jobs:
118118
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
119119
chmod +x ./cc-test-reporter
120120
./cc-test-reporter before-build
121+
if: ${{ matrix.php-versions == '8.0' }}
121122

122123
- name: Run test suite
123124
run: |
@@ -136,6 +137,7 @@ jobs:
136137
CACHE_DRIVER: ${{ matrix.caches }}
137138
DB_CONNECTION: ${{ matrix.databases }}
138139
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
140+
if: ${{ matrix.php-versions == '8.0' }}
139141

140142
- name: Send coverage
141143
run: |
@@ -144,3 +146,4 @@ jobs:
144146
env:
145147
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
146148
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
149+
if: ${{ matrix.php-versions == '8.0' }}

0 commit comments

Comments
 (0)