Run e2e test #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run e2e test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "*.*.x" | |
- "master" | |
jobs: | |
run: | |
name: "Run e2e test" | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
dependencies: | |
- "highest" | |
- "lowest" | |
- "locked" | |
php-version: | |
- "8.1" | |
operating-system: | |
- "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/[email protected]" | |
- name: "Install PHP" | |
uses: "shivammathur/[email protected]" | |
with: | |
coverage: "none" | |
php-version: "${{ matrix.php-version }}" | |
ini-values: memory_limit=-1 | |
- name: "Install dependencies" | |
uses: "ramsey/[email protected]" | |
with: | |
dependency-versions: "${{ matrix.dependencies }}" | |
- name: "Install e2e dependencies" | |
uses: "ramsey/[email protected]" | |
with: | |
working-directory: "tests/fixtures/e2e" | |
- name: Test composer audit output | |
# See https://github.com/symfony/symfony/issues/53460 why --no-ansi was added. | |
run: tests/fixtures/e2e/test.php "$(DDQG_COMPOSER_AUDIT_TEST_ENV=1 ./vendor/bin/composer --no-ansi -d tests/fixtures/e2e audit --format=json)" |