Skip to content

Commit

Permalink
Add test matrix for Contao versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Nov 26, 2024
1 parent 3019080 commit 83c5297
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
uses: 'terminal42/contao-build-tools/.github/workflows/build-tools.yml@main'

tests:
name: Unit tests
name: Unit tests (PHP ${{ matrix.php }} / Contao ${{ matrix.contao }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ '8.1', '8.2', '8.3' ]
contao: [ '4.13', '5.3', '5.4' ]
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -27,6 +28,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Require Contao version for tests
run: composer require contao/core-bundle:${{ matrix.contao }}.* --dev --no-update

- name: Install the dependencies
run: |
composer install --no-interaction --no-progress --no-plugins
Expand Down

0 comments on commit 83c5297

Please sign in to comment.