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 5efeacb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 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,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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5efeacb

Please sign in to comment.