mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 09:31:02 -05:00
22 lines
835 B
YAML
22 lines
835 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'v*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
integration-nested:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: |
|
|
set -x
|
|
LXC_IP_PREFIX=10.0.9 ./forgejo-dependencies.sh
|
|
export PATH=$(pwd):$PATH
|
|
forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo 1.20
|
|
forgejo-runner.sh setup
|
|
export FORGEJO_RUNNER_LOGS=forgejo-runner.log
|
|
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)
|