From c2618d0998ec48dbae7b557eacfc8e527965218d Mon Sep 17 00:00:00 2001 From: Oleg Andreyev Date: Sat, 20 Mar 2021 19:21:41 +0200 Subject: [PATCH 1/2] added 8.1 and experimental=true Signed-off-by: Oleg Andreyev --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d45ee20c18..2ebfebdfaf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,10 +13,14 @@ jobs: name: Test on php ${{ matrix.php-version }} and ${{ matrix.os }} if: "!contains(github.event.head_commit.message, '[ci skip]')" runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} strategy: matrix: php-version: ["7.1", "7.2", "7.3", "7.4", "8.0"] + experimental: [false] os: [ubuntu-latest] + include: + - { php-version: '8.1', dependencies: '--ignore-platform-req=php', experimental: true, os: ubuntu-latest } steps: - uses: actions/checkout@v2 - name: Install gettext From 8a4c87f19c584e5401f0eae0d87ce1917857b8f8 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 20 Mar 2021 19:45:17 +0100 Subject: [PATCH 2/2] Add "composer-options" matrix option to the composer install command Signed-off-by: William Desportes --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2ebfebdfaf..3400c8c82c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: experimental: [false] os: [ubuntu-latest] include: - - { php-version: '8.1', dependencies: '--ignore-platform-req=php', experimental: true, os: ubuntu-latest } + - { php-version: '8.1', composer-options: '--ignore-platform-req=php', experimental: true, os: ubuntu-latest } steps: - uses: actions/checkout@v2 - name: Install gettext @@ -39,7 +39,7 @@ jobs: path: ~/.composer/cache/ key: composer-cache - name: Install dependencies - run: composer install --no-interaction + run: composer install --no-interaction ${{ matrix.composer-options }} - name: Run php tests run: composer run phpunit -- --exclude-group selenium - name: Send coverage