Skip to content
Source
Sign inSign up
TanStack/db

ci: skip the Electric E2E suites while the Electric image cannot be pulled #1985

MergedKyleAMathews(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/1985/headmerged by KyleAMathews(GitHub profile, opens in a new tab)

Showing 1 changed file with 10 additions and 1 deletion.

x
0 of 1 viewed, 1 left
10 additions and 1 deletion.github/workflows/e2e-tests.ymlModified
View file
@@ -13,6 +13,12 @@
name: Run E2E Tests
runs-on: ubuntu-latest
timeout-minutes: 35
+ env:
+ # Since 2026-10-01 Docker Hub rejects anonymous pulls of
+ # electricsql/electric (401 "authentication required"). The Docker
+ # services and the suites that need Electric are skipped until the
+ # image can be pulled again. Set this back to 'true' then.
+ ELECTRIC_E2E: 'false'
​
steps:
- name: Checkout code
@@ -35,6 +41,7 @@
run: pnpm install --frozen-lockfile
​
- name: Start Docker services
+ if: env.ELECTRIC_E2E == 'true'
run: |
cd packages/db-collection-e2e/docker
docker compose up -d
@@ -51,6 +58,7 @@
pnpm --filter @tanstack/query-db-collection build