|
51 | 51 |
|
52 | 52 | strategy: |
53 | 53 | matrix: |
54 | | - php: ['5.6', '7.0', '7.4', '8.0', '8.5', 'nightly'] |
| 54 | + php: ['7.2', '7.4', '8.0', '8.5', 'nightly'] |
55 | 55 |
|
56 | 56 | name: "Lint: PHP ${{ matrix.php }}" |
57 | 57 |
|
|
87 | 87 |
|
88 | 88 | strategy: |
89 | 89 | matrix: |
90 | | - php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] |
| 90 | + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] |
91 | 91 | dependencies: ['lowest', 'highest'] |
92 | 92 |
|
93 | 93 | continue-on-error: ${{ matrix.php == '8.6' }} |
@@ -126,16 +126,16 @@ jobs: |
126 | 126 | run: ./vendor/bin/phpunit --migrate-configuration |
127 | 127 |
|
128 | 128 | - name: Run unit tests (without code coverage) |
129 | | - if: ${{ matrix.php != '7.4' || matrix.dependencies != 'highest' || github.event.repository.fork == true }} |
| 129 | + if: ${{ matrix.php != '8.1' || matrix.dependencies != 'highest' || github.event.repository.fork == true }} |
130 | 130 | run: ./vendor/bin/phpunit |
131 | 131 |
|
132 | 132 | - name: Run unit tests with code coverage |
133 | | - if: ${{ matrix.php == '7.4' && matrix.dependencies == 'highest' && github.event.repository.fork == false }} |
| 133 | + if: ${{ matrix.php == '8.1' && matrix.dependencies == 'highest' && github.event.repository.fork == false }} |
134 | 134 | run: ./vendor/bin/phpunit --coverage-clover=coverage.xml |
135 | 135 |
|
136 | 136 | - name: Update codecov.io |
137 | 137 | uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 |
138 | | - if: ${{ matrix.php == '7.4' && matrix.dependencies == 'highest' && github.event.repository.fork == false }} # upload coverage once is enough |
| 138 | + if: ${{ matrix.php == '8.1' && matrix.dependencies == 'highest' && github.event.repository.fork == false }} # upload coverage once is enough |
139 | 139 | env: |
140 | 140 | CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
141 | 141 | with: |
|
0 commit comments