setup-forgejo/.forgejo/workflows/integration.yml
2023-03-25 14:35:17 +01:00

13 lines
599 B
YAML

on: [ push ]
jobs:
integration:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- run: |
set -x
echo deb http://deb.debian.org/debian bullseye-backports main | tee /etc/apt/sources.list.d/backports.list && apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --quiet -y -t bullseye-backports git docker.io
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo:1.19
./forgejo-runner.sh setup
testdata/run.sh main http://root:admin1234@$(cat forgejo-ip):3000 root demo