Skip to content

Commit

Permalink
Test prefer lowest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 5, 2024
1 parent c47cbae commit e7d710f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1]
php: [8.1, 8.2, 8.3]
db_image_name: [mysql, percona, postgres]
composer-flags: ['', '--prefer-lowest']
include:
- db_image_name: mysql
db_image_version: 8
Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
- name: Install dependencies
run: |
composer self-update
composer install --prefer-dist --optimize-autoloader --no-interaction --no-suggest
composer install --prefer-dist --optimize-autoloader --no-interaction --no-suggest ${{ matrix.composer-flags }}
- name: Run setup tests
run: vendor/bin/phpunit --configuration tests/config/${{ matrix.db }}.phpunit.xml tests/Oro/Tests/Connection/SetupTest.php
Expand All @@ -63,4 +64,4 @@ jobs:
run: vendor/bin/phpcs src/ tests/ -p --encoding=utf-8 --extensions=php --standard=psr2

- name: Tear down tests
run: vendor/bin/phpunit --configuration tests/config/${{ matrix.db }}.phpunit.xml tests/Oro/Tests/Connection/TearDownTest.php
run: vendor/bin/phpunit --configuration tests/config/${{ matrix.db }}.phpunit.xml tests/Oro/Tests/Connection/TearDownTest.php

0 comments on commit e7d710f

Please sign in to comment.