Add automated testing infrastructure (Vitest + Playwright E2E) #110

Merged
litruv merged 12 commits from issue-109-automated-testing into main 2026-11-03 13:51:15 +11:00
Showing only changes of commit 73990d092c - Show all commits
+4 -6
View File
@@ -26,12 +26,10 @@ jobs:
# PRs can be trusted with the E2E_PASSWORD secret.
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
# ruv.wtf is a macvlan interface on a container on the runner host, so the reply to a
# bridge-networked job arrives on that container's bridge and Docker's inter-bridge
# isolation drops it. Host networking keeps the request and reply on one path.
container:
image: docker.io/gitea/runner-images:ubuntu-latest
options: --network=host
# Needs the DOCKER-USER exception on the runner host: ruv.wtf is a macvlan interface on a
# container there, so the reply to a bridge-networked job arrives on that container's bridge
# and Docker's inter-bridge isolation drops it. act_runner ignores --network in
# container.options, so the exception lives on the host.
env:
# Dedicated test account on the homeserver, not a personal one.
E2E_HOMESERVER: ruv.wtf