From ce9962adc46236890aa2a4d974647d0d841a6d9a Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Wed, 3 Nov 2021 21:29:22 +0300 Subject: [PATCH] add php 8.1 --- .github/workflows/phpunits.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunits.yaml b/.github/workflows/phpunits.yaml index 8db9ae9f3..cc40f602e 100644 --- a/.github/workflows/phpunits.yaml +++ b/.github/workflows/phpunits.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: [7.4, 8.0] + php-versions: [7.4, 8.0, 8.1] databases: [testing, pgsql, mysql, mariadb] caches: [array, redis, memcached] @@ -118,6 +118,7 @@ jobs: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter ./cc-test-reporter before-build + if: ${{ matrix.php-versions == '8.0' }} - name: Run test suite run: | @@ -136,6 +137,7 @@ jobs: CACHE_DRIVER: ${{ matrix.caches }} DB_CONNECTION: ${{ matrix.databases }} STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} + if: ${{ matrix.php-versions == '8.0' }} - name: Send coverage run: | @@ -144,3 +146,4 @@ jobs: env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + if: ${{ matrix.php-versions == '8.0' }}