1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2025-03-15 14:44:38 +01:00
setup-forgejo/testdata/example-if-fail/run.sh
2023-10-04 21:20:02 +02:00

4 lines
270 B
Bash
Executable file

! 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