Skip to content

Commit

Permalink
ci: Run the e2e tests on PHP 8.2 and also with different Composer ver…
Browse files Browse the repository at this point in the history
…sions (humbug#798)
  • Loading branch information
theofidry authored Dec 23, 2022
1 parent 48062e6 commit 12a835c
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 196 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
path: bin/php-scoper.phar

e2e-tests:
name: 'Test ${{ matrix.e2e }} (PHP: ${{ matrix.php }})'
name: 'Test ${{ matrix.e2e }} (PHP: ${{ matrix.php }}) with ${{ matrix.composer }}'
runs-on: ubuntu-latest
needs: build-test-phar
strategy:
Expand Down Expand Up @@ -85,6 +85,10 @@ jobs:
- 'e2e_035'
php:
- '8.1'
- '8.2'
composer:
- 'composer:2.2'
- 'composer'

steps:
- name: Checkout
Expand All @@ -97,8 +101,11 @@ jobs:
with:
php-version: ${{ matrix.php }}
ini-values: phar.readonly=0
tools: composer
tools: ${{ matrix.composer }}
coverage: pcov
env:
# This is necessary when installing a tool with a specific version
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Configure composer root version
run: |
Expand Down
Loading

0 comments on commit 12a835c

Please sign in to comment.