parsimony/.forgejo/workflows/e2e.yaml
tgiachi 1d68f9506b ci: describe the runner the workflows expect
- ci.yaml asks for a docker-labelled runner and runs jobs in the named containers
- e2e.yaml says what it needs from a runner and that it has not been run on one
2026-11-10 15:54:29 +01:00

19 lines
651 B
YAML

# The end-to-end test starts Postfix and parsimony in Docker, so it needs a runner that can run
# Docker itself, with the job on the host network (it talks to published ports on 127.0.0.1 and
# mounts temporary directories). A plain `docker` runner does not give a job a Docker daemon, and
# I have not run this workflow on a runner: use `make e2e` locally. Start it by hand from the
# Actions tab only once you have such a runner.
name: e2e
on:
workflow_dispatch:
jobs:
e2e:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make e2e