ci: move E2E tests to run after deploy stage
Some checks failed
CI / Format (push) Successful in 2s
CI / Security Audit (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / E2E Tests (pull_request) Has been cancelled
CI / Deploy (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Deploy (push) Has been skipped
CI / E2E Tests (push) Has been skipped
CI / Clippy (push) Successful in 2m55s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Successful in 3s
Some checks failed
CI / Format (push) Successful in 2s
CI / Security Audit (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / E2E Tests (pull_request) Has been cancelled
CI / Deploy (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Deploy (push) Has been skipped
CI / E2E Tests (push) Has been skipped
CI / Clippy (push) Successful in 2m55s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Successful in 3s
E2E tests are currently broken. Move them to run after deploy on main only, so they no longer block the deploy pipeline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -121,13 +121,13 @@ jobs:
|
|||||||
if: always()
|
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:
|
e2e:
|
||||||
name: E2E Tests
|
name: E2E Tests
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [fmt, clippy, audit]
|
needs: [deploy]
|
||||||
if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
|
if: github.ref == 'refs/heads/main'
|
||||||
container:
|
container:
|
||||||
image: rust:1.89-bookworm
|
image: rust:1.89-bookworm
|
||||||
# MongoDB and SearXNG can start immediately (no repo files needed).
|
# MongoDB and SearXNG can start immediately (no repo files needed).
|
||||||
@@ -259,7 +259,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [test, e2e]
|
needs: [test]
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
container:
|
container:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user