diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1a0b76f5..51982b97 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,19 +12,25 @@ env: jobs: tests: - runs-on: ubuntu-latest + strategy: + matrix: + php-version: ['8.2', '8.5'] + os: [ubuntu-latest] + + runs-on: ${{ matrix.os }} + timeout-minutes: 3 - name: Tests + name: PHP ${{ matrix.php-version }} tests (${{ matrix.os }}) steps: - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: ${{ matrix.php-version }} coverage: none ini-values: zend.assertions=1 - uses: "ramsey/composer-install@v2" - - run: vendor/bin/phpunit + - run: vendor/bin/phpunit \ No newline at end of file