Skip to content

Commit

Permalink
TEMP: upload test.log
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca committed Sep 19, 2023
1 parent c53300b commit 03070a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 03070a6

Please sign in to comment.