Compare commits

...

1 Commits

Author SHA1 Message Date
Julius Härtl
5a4ce4b3b3 ci: Print Nextcloud log on failure and colorize behat
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-02 08:07:02 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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