1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 01:46:16 +00:00

example: echo

This commit is contained in:
Earl Warren 2023-05-29 15:26:29 +02:00
parent a6e1d54a97
commit cdd9a76852
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 12 additions and 0 deletions

View file

@ -18,7 +18,13 @@ jobs:
#
./forgejo-runner.sh setup
export FORGEJO_RUNNER_LOGS=forgejo-runner.log
for example in echo ; do
echo "============================ example-$example ==================="
./forgejo-test-helper.sh run_workflow testdata/example-$example http://root:admin1234@$(cat forgejo-ip):3000 root example-$example setup-forgejo $(cat forgejo-token)
done
echo "============================ demo ==================="
./forgejo-test-helper.sh run_workflow testdata/demo http://root:admin1234@$(cat forgejo-ip):3000 root demo setup-forgejo $(cat forgejo-token) > /tmp/output
grep '^sha=' /tmp/output
echo "============================ sanity-check ==================="
./forgejo-test-helper.sh push_self_action http://root:admin1234@$(cat forgejo-ip):3000 root setup-forgejo vTest
./forgejo-test-helper.sh run_workflow testdata/sanity-checks http://root:admin1234@$(cat forgejo-ip):3000 root sanity-check setup-forgejo $(cat forgejo-token)

View file

@ -0,0 +1,6 @@
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo All Good