Skip to content

Commit

Permalink
Specifically test against dbal 3 and 4
Browse files Browse the repository at this point in the history
  • Loading branch information
wjzijderveld committed Mar 26, 2024
1 parent e5698b5 commit 7c341d2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
composer require "eventsauce/eventsauce=${{ matrix.eventsauce }}" -w --prefer-dist --no-interaction --no-update
- name: Install specific doctrine version
- name: Install doctrine 3
run: |
composer require "doctrine/dbal:^3.1" -w --prefer-dist --no-interaction --no-update
Expand All @@ -68,6 +68,16 @@ jobs:
- name: Execute tests
run: vendor/bin/phpunit --exclude-group=doctrine2

- name: Install doctrine 4
run: |
composer require "doctrine/dbal:^4.0" -w --prefer-dist --no-interaction --no-update
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit --exclude-group=doctrine2

- name: Run PHPStan
if: ${{ matrix.eventsauce == '3.0' }}
run: vendor/bin/phpstan analyze
Expand Down

0 comments on commit 7c341d2

Please sign in to comment.