diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9a418476..0c4ab0982 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,9 @@ jobs: name: playwright-report path: playwright-report/ retention-days: 30 + + - uses: actions/upload-artifact@v3 + with: + name: test-logfile + path: var/log/test.log + retention-days: 7 diff --git a/Makefile b/Makefile index 93d803243..c5e65328c 100644 --- a/Makefile +++ b/Makefile @@ -195,8 +195,8 @@ format: php_lint ## Format code ## test: ## Run the test suite - ${BIN_PHP} ${OPTIONS} ./bin/phpunit ${ARGS} - make test_e2e ARGS="" + # ${BIN_PHP} ${OPTIONS} ./bin/phpunit ${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"