Skip to content

Commit 2af2db1

Browse files
ci(repo): hash integration suites from the package builds they install
Give each integration suite task a dependsOn list of the package builds its e2e apps install, and drop the packages/* input globs. Turbo folds the dependency build hashes into the suite hash, so a change to a package no suite installs no longer invalidates every suite, while a change to a transitive dependency still does. Force full runs in the merge queue and nightly.
1 parent dc4b2e2 commit 2af2db1

4 files changed

Lines changed: 97 additions & 420 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ jobs:
706706
pnpm turbo test:integration:${{ matrix.test-name }} $TURBO_ARGS
707707
fi
708708
env:
709+
TURBO_FORCE: ${{ github.event_name == 'merge_group' }}
709710
CLERK_E2E_OAUTH_PROVIDER_CLIENT_SECRET: ${{ secrets.CLERK_E2E_OAUTH_PROVIDER_CLIENT_SECRET }}
710711
CLERK_PLATFORM_API_KEY: ${{ secrets.CLERK_PLATFORM_API_KEY }}
711712
E2E_DEBUG: '1'

‎.github/workflows/nightly-checks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
if [ "${{ matrix.test-name }}" == "nextjs" ]; then
7575
E2E_DEBUG=1 E2E_APP_ID=quickstart.next.appRouter pnpm test:integration:base --grep @quickstart 2>&1 | tee "$OUTPUT_FILE"
7676
else
77-
E2E_DEBUG=1 pnpm turbo test:integration:${{ matrix.test-name }} $TURBO_ARGS --only 2>&1 | tee "$OUTPUT_FILE"
77+
E2E_DEBUG=1 pnpm turbo test:integration:${{ matrix.test-name }} $TURBO_ARGS --only --force 2>&1 | tee "$OUTPUT_FILE"
7878
fi
7979
echo "exit_code=${PIPESTATUS[0]}" >> $GITHUB_OUTPUT
8080
env:

0 commit comments

Comments
 (0)