mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 04:31:00 -05:00
19 lines
973 B
YAML
19 lines
973 B
YAML
on: [ push, pull_request ]
|
|
jobs:
|
|
integration:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: |
|
|
set -x
|
|
LXC_IP_PREFIX=10.0.10 ./forgejo-dependencies.sh
|
|
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo 1.19
|
|
./forgejo-runner.sh setup
|
|
export FORGEJO_RUNNER_LOGS=forgejo-runner.log
|
|
for example in echo container ; 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
|