cascading-pr/.forgejo/workflows/integration.yml
Earl Warren 84c728fdc5
runner capacity must be at least two jobs
otherwise the cascading pr job will never run and the original
pr will stay stuck until it timesout
2023-10-13 15:15:06 +02:00

23 lines
711 B
YAML

name: integration
on: [push, pull_request_target]
jobs:
integration:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- id: forgejo
uses: https://code.forgejo.org/actions/setup-forgejo@v1
with:
user: root
password: admin1234
image: codeberg.org/forgejo-integration/forgejo
image-version: 1.21.0-3-rc0
lxc-ip-prefix: 10.1.15
- name: tests
run: |
FORGEJO_RUNNER_CONFIG=$(pwd)/tests/runner-config.yaml forgejo-runner.sh reload
tests/run.sh --debug --host_port ${{ steps.forgejo.outputs.host-port }} --url ${{ steps.forgejo.outputs.url }} --token ${{ steps.forgejo.outputs.token }}