Skip to content

Commit 12a835c

Browse files
authored
ci: Run the e2e tests on PHP 8.2 and also with different Composer versions (#798)
1 parent 48062e6 commit 12a835c

File tree

3 files changed

+217
-196
lines changed

3 files changed

+217
-196
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
path: bin/php-scoper.phar
5555

5656
e2e-tests:
57-
name: 'Test ${{ matrix.e2e }} (PHP: ${{ matrix.php }})'
57+
name: 'Test ${{ matrix.e2e }} (PHP: ${{ matrix.php }}) with ${{ matrix.composer }}'
5858
runs-on: ubuntu-latest
5959
needs: build-test-phar
6060
strategy:
@@ -85,6 +85,10 @@ jobs:
8585
- 'e2e_035'
8686
php:
8787
- '8.1'
88+
- '8.2'
89+
composer:
90+
- 'composer:2.2'
91+
- 'composer'
8892

8993
steps:
9094
- name: Checkout
@@ -97,8 +101,11 @@ jobs:
97101
with:
98102
php-version: ${{ matrix.php }}
99103
ini-values: phar.readonly=0
100-
tools: composer
104+
tools: ${{ matrix.composer }}
101105
coverage: pcov
106+
env:
107+
# This is necessary when installing a tool with a specific version
108+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102109

103110
- name: Configure composer root version
104111
run: |

0 commit comments

Comments
 (0)