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' }}