File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 - uses : actions/checkout@v4
4747 - uses : ./.github/actions/setup-workbench
4848 - run : bun run test
49+
50+ # Integration and browser suites under e2e/. CI=true turns DB- and
51+ # Chrome-gated skips into hard failures.
52+ e2e :
53+ needs : setup
54+ runs-on : ubuntu-latest
55+ timeout-minutes : 20
56+ services :
57+ postgres :
58+ image : postgres:16
59+ env :
60+ POSTGRES_USER : postgres
61+ POSTGRES_PASSWORD : postgres
62+ POSTGRES_DB : workbench
63+ ports :
64+ - 5432:5432
65+ options : >-
66+ --health-cmd "pg_isready -U postgres"
67+ --health-interval 5s
68+ --health-timeout 5s
69+ --health-retries 10
70+ env :
71+ CI : " true"
72+ DATABASE_URL : postgres://postgres:postgres@localhost:5432/workbench
73+ HUB_DATA_DIR : ${{ runner.temp }}/hub-data
74+ steps :
75+ - uses : actions/checkout@v4
76+ - uses : ./.github/actions/setup-workbench
77+ - id : chrome
78+ uses : browser-actions/setup-chrome@v1
79+ - run : echo "CHROME_PATH=${{ steps.chrome.outputs.chrome-path }}" >> "$GITHUB_ENV"
80+ - run : mkdir -p "$HUB_DATA_DIR"
81+ - run : bun run test:e2e
You can’t perform that action at this time.
0 commit comments