diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 08cf528..0067709 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -121,13 +121,13 @@ jobs: if: always() # --------------------------------------------------------------------------- - # Stage 2b: E2E tests (only on main / PRs to main, after quality checks) + # Stage 4: E2E tests (only on main, after deploy) # --------------------------------------------------------------------------- e2e: name: E2E Tests runs-on: docker - needs: [fmt, clippy, audit] - if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' + needs: [deploy] + if: github.ref == 'refs/heads/main' container: image: rust:1.89-bookworm # MongoDB and SearXNG can start immediately (no repo files needed). @@ -259,7 +259,7 @@ jobs: deploy: name: Deploy runs-on: docker - needs: [test, e2e] + needs: [test] if: github.ref == 'refs/heads/main' container: image: alpine:latest