ci: Print Nextcloud log on failure and colorize behat
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
@@ -99,3 +99,7 @@ jobs:
|
||||
- name: Run behat
|
||||
working-directory: apps/${{ env.APP_NAME }}/tests/integration
|
||||
run: ./run.sh
|
||||
|
||||
- name: Dump Nextcloud log
|
||||
if: failure()
|
||||
run: cat data/nextcloud.log
|
||||
|
||||
@@ -33,7 +33,7 @@ echo $PHPPID
|
||||
|
||||
export TEST_SERVER_URL="http://localhost:$PORT/ocs/"
|
||||
|
||||
vendor/bin/behat $SCENARIO_TO_RUN
|
||||
vendor/bin/behat --colors -f junit -f pretty $SCENARIO_TO_RUN
|
||||
RESULT=$?
|
||||
|
||||
kill $PHPPID
|
||||
|
||||
Reference in New Issue
Block a user