mirror of
https://code.forgejo.org/actions/setup-forgejo
synced 2025-06-26 20:18:00 +02:00
better verbosity for integration tests
This commit is contained in:
parent
eaecaaa2e6
commit
65714b4555
3 changed files with 27 additions and 20 deletions
5
testdata/example-if-fail/run.sh
vendored
5
testdata/example-if-fail/run.sh
vendored
|
@ -1,7 +1,4 @@
|
|||
if forgejo-test-helper.sh run_workflow testdata/example-$example http://root:admin1234@$(cat forgejo-ip):3000 root example-$example setup-forgejo $(cat forgejo-token) >& /tmp/run.out ; then
|
||||
cat /tmp/run.out
|
||||
false
|
||||
fi
|
||||
! forgejo-test-helper.sh run_workflow testdata/example-$example http://root:admin1234@$(cat forgejo-ip):3000 root example-$example setup-forgejo $(cat forgejo-token)
|
||||
|
||||
grep --quiet 'IF TEST FAILURE' $FORGEJO_RUNNER_LOGS
|
||||
grep --quiet 'IF TEST ALWAYS' $FORGEJO_RUNNER_LOGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue