From 17f78d43bafdafe093ee4441caa3373dc5646b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bouc=CC=8Cek?= Date: Sun, 11 Dec 2022 21:46:19 +0100 Subject: [PATCH] CI: Add lowest/newest --- .github/workflows/code_analysis.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 643b990..5b53e68 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -22,8 +22,16 @@ jobs: - name: Unit tests run: vendor/bin/tester tests -s -C + versions: + - name: newest + arg: '' + experimental: false - name: ${{ matrix.actions.name }} at PHP ${{ matrix.php }} + - name: lowest + arg: '--prefer-lowest' + experimental: true + + name: ${{ matrix.actions.name }} at PHP ${{ matrix.php }} (${{ matrix.versions.name }}) runs-on: ubuntu-latest steps: @@ -54,6 +62,7 @@ jobs: - name: Install Composer - run: composer install --no-progress + run: composer update --no-progress ${{ matrix.versions.arg }} - run: ${{ matrix.actions.run }} + continue-on-error: ${{ matrix.versions.experimental }}