|
1 | 1 | name: run-tests |
2 | 2 |
|
3 | | -on: [push, pull_request] |
| 3 | +on: |
| 4 | + - push |
| 5 | + - pull_request |
4 | 6 |
|
5 | 7 | jobs: |
6 | | - test: |
7 | | - runs-on: ${{ matrix.os }} |
8 | | - strategy: |
9 | | - fail-fast: false |
10 | | - matrix: |
11 | | - os: [ubuntu-latest] |
12 | | - php: [8.2, 8.1, 8.0, 7.4] |
13 | | - dependency-version: [prefer-lowest, prefer-stable] |
14 | | - |
15 | | - name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} |
16 | | - |
17 | | - steps: |
18 | | - - name: Checkout code |
19 | | - uses: actions/checkout@v6 |
20 | | - |
21 | | - - name: Setup PHP |
22 | | - uses: shivammathur/setup-php@v2 |
23 | | - with: |
24 | | - php-version: ${{ matrix.php }} |
25 | | - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick |
26 | | - coverage: none |
27 | | - |
28 | | - - name: Install dependencies |
29 | | - run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest |
30 | | - |
31 | | - - name: Execute tests |
32 | | - run: vendor/bin/pest |
| 8 | + test: |
| 9 | + runs-on: ${{ matrix.os }} |
| 10 | + |
| 11 | + strategy: |
| 12 | + fail-fast: false |
| 13 | + matrix: |
| 14 | + os: [ubuntu-latest] |
| 15 | + php: [7.4, 8.0, 8.1, 8.2, '8.3', '8.4', '8.5'] |
| 16 | + dependency-version: [prefer-lowest, prefer-stable] |
| 17 | + |
| 18 | + name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} |
| 19 | + |
| 20 | + steps: |
| 21 | + - name: Checkout code |
| 22 | + uses: actions/checkout@v6 |
| 23 | + |
| 24 | + - name: Setup PHP |
| 25 | + uses: shivammathur/setup-php@v2 |
| 26 | + with: |
| 27 | + php-version: ${{ matrix.php }} |
| 28 | + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick |
| 29 | + coverage: none |
| 30 | + |
| 31 | + - name: Install dependencies |
| 32 | + run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest |
| 33 | + |
| 34 | + - name: Execute tests |
| 35 | + run: vendor/bin/pest |
0 commit comments