diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0084dcceea..110dd85a8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -51,7 +52,7 @@ jobs: - name: Install dependencies run: | composer self-update - composer install --prefer-dist --optimize-autoloader --no-interaction --no-suggest + composer update --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 @@ -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 \ No newline at end of file + run: vendor/bin/phpunit --configuration tests/config/${{ matrix.db }}.phpunit.xml tests/Oro/Tests/Connection/TearDownTest.php