gitea/.github/workflows
silverwind 18e0746b7b
Rework e2e tests (#36634)
- Replace the e2e tests initialization with a simple bash script,
removing the previous Go harness.
- `make test-e2e` is the single entry point. It always starts a fully
isolated ephemeral Gitea instance with its own temp directory, SQLite
database, and config — no interference with the developer's running
instance.
- A separate `gitea-e2e` binary is built via `EXECUTABLE_E2E` using
`TEST_TAGS` (auto-includes sqlite with `CGO_ENABLED=1`), keeping the
developer's regular `gitea` binary untouched.
- No more split into database-specific e2e tests. Test timeouts are
strict, can be relaxed later if needed.
- Simplified and streamlined the playwright config and test files.
- Remove all output generation of playwright and all references to
visual testing.
- Tests run on Chrome locally, Chrome + Firefox on CI.
- Simplified CI workflow — visible separate steps for frontend, backend,
and test execution.
- All exported env vars use `GITEA_TEST_E2E_*` prefix.
- Use `GITEA_TEST_E2E_FLAGS` to pass flags to playwright, e.g.
`GITEA_TEST_E2E_FLAGS="--ui" make test-e2e` for UI mode or
`GITEA_TEST_E2E_FLAGS="--headed" make test-e2e` for headed mode.
- Use `GITEA_TEST_E2E_DEBUG=1 make test-e2e` to show Gitea server
output.

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 16:26:47 -08:00
..
cron-flake-updater.yml automate updating nix flakes (#35641) 2026-02-14 19:00:36 +01:00
cron-licenses.yml Bump appleboy/git-push-action from 1.0.0 to 1.2.0 (#36306) 2026-01-12 17:47:41 +00:00
cron-translations.yml Bump appleboy/git-push-action from 1.0.0 to 1.2.0 (#36306) 2026-01-12 17:47:41 +00:00
files-changed.yml Bump alpine to 3.23, add platforms to `docker-dryrun` (#36379) 2026-02-01 09:36:43 +00:00
pull-compliance.yml Update JS and PY deps (#36383) 2026-01-16 11:00:16 +00:00
pull-db-tests.yml Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
pull-docker-dryrun.yml Bump alpine to 3.23, add platforms to `docker-dryrun` (#36379) 2026-02-01 09:36:43 +00:00
pull-e2e-tests.yml Rework e2e tests (#36634) 2026-02-20 16:26:47 -08:00
pull-labeler.yml Bump `actions/labeler` to v6 (#35681) 2025-10-16 19:00:41 +02:00
release-nightly.yml Bump setup-node to v6, re-enable cache (#36207) 2025-12-19 02:07:34 +00:00
release-tag-rc.yml Bump setup-node to v6, re-enable cache (#36207) 2025-12-19 02:07:34 +00:00
release-tag-version.yml Bump setup-node to v6, re-enable cache (#36207) 2025-12-19 02:07:34 +00:00