Skip to content

Commit

Permalink
chore: move e2e tests to depot to re-test the speed-up
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 19, 2024
1 parent f111ceb commit b498ad2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
changes:
runs-on: ubuntu-24.04
runs-on: depot-ubuntu-22.04
timeout-minutes: 5
name: Determine need to run E2E checks
# Set job outputs to values from filter step
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
chunks:
needs: changes
name: Cypress preparation
runs-on: ubuntu-24.04
runs-on: depot-ubuntu-22.04
timeout-minutes: 5
outputs:
chunks: ${{ steps.chunk.outputs.chunks }}
Expand All @@ -67,7 +67,7 @@ jobs:

container:
name: Build and cache container image
runs-on: ubuntu-24.04
runs-on: depot-ubuntu-22.04
timeout-minutes: 60
needs: [changes]
permissions:
Expand All @@ -91,7 +91,7 @@ jobs:

cypress:
name: Cypress E2E tests (${{ strategy.job-index }})
runs-on: ubuntu-24.04
runs-on: depot-ubuntu-22.04
timeout-minutes: 60
needs: [chunks, changes, container]
permissions:
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:

calculate-running-time:
name: Calculate running time
runs-on: ubuntu-24.04
runs-on: depot-ubuntu-22.04
needs: [cypress]
if: needs.changes.outputs.shouldTriggerCypress == 'true' &&
github.event.pull_request.head.repo.full_name == 'PostHog/posthog'
Expand Down

0 comments on commit b498ad2

Please sign in to comment.