diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 154c6e497..910b6ee2e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 diff --git a/tests/integration/run.sh b/tests/integration/run.sh index bcabf9ed7..22d81edad 100755 --- a/tests/integration/run.sh +++ b/tests/integration/run.sh @@ -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