diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9a418476..5eb448987 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: sudo apt install symfony-cli - name: CI - run: make ci CI=1 BIN_PHP="php" BIN_CONSOLE="php bin/console" BIN_COMPOSER="composer" BIN_NPM="npm" BIN_NPX="npx" PLAYWRIGHT_BASE_URL="http://localhost:8000" + run: make ci CI=1 BIN_PHP="php" BIN_CONSOLE="php bin/console" BIN_COMPOSER="composer" BIN_NPM="npm" BIN_NPX="npx" PLAYWRIGHT_ARGS="-x --forbid-only" - uses: codecov/codecov-action@v3 with: @@ -82,3 +82,10 @@ jobs: name: playwright-report path: playwright-report/ retention-days: 30 + + - uses: actions/upload-artifact@v3 + if: always() + with: + name: test-logfile + path: var/log/test.log + retention-days: 7 diff --git a/Makefile b/Makefile index 93d803243..552c4d358 100644 --- a/Makefile +++ b/Makefile @@ -196,7 +196,7 @@ format: php_lint ## Format code test: ## Run the test suite ${BIN_PHP} ${OPTIONS} ./bin/phpunit ${ARGS} - make test_e2e ARGS="" + make test_e2e ARGS="${PLAYWRIGHT_ARGS}" test_cov: ## Run the test suite (with code coverage) make test OPTIONS="-d xdebug.mode=coverage" ARGS="--coverage-html coverage --coverage-clover coverage.xml"