Skip to content

Commit

Permalink
CI: Add lowest/newest
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubboucek committed Dec 11, 2022
1 parent 4c31e02 commit 17f78d4
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit 17f78d4

Please sign in to comment.