Skip to content

Commit

Permalink
Add composer prefer-lowest and prefer-stable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angelej committed Jul 7, 2024
1 parent ee5a01f commit 2a6842e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.3, 8.2]
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.os }}
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
Expand All @@ -25,7 +26,7 @@ jobs:
coverage: xdebug

- name: Install dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
run: composer update --no-interaction --prefer-dist --${{ matrix.stability }} --optimize-autoloader

- name: Execute tests
run: composer test

0 comments on commit 2a6842e

Please sign in to comment.