Skip to content

Commit 6e35ebf

Browse files
committed
Add env variables. Add interactive shell
1 parent 1148a19 commit 6e35ebf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/e2e-cat-app-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ jobs:
6767
- name: Install dependencies
6868
run: bun install --frozen-lockfile
6969

70+
- name: Set Environment Variables
71+
run: |
72+
echo "${{ secrets.ENV_LOCAL }}" > .env.local
73+
7074
- name: Wait for PostgreSQL to be ready
7175
run: |
7276
echo "Waiting for PostgreSQL to start..."
@@ -91,3 +95,9 @@ jobs:
9195
run: bun evals/e2e/e2e-cat-app-script.ts
9296
# The script has its own timeouts, but we can add a general timeout for the step
9397
timeout-minutes: 5 # Adjust as needed, the script itself has a 2-minute task timeout + setup time
98+
99+
100+
- name: Open interactive debug shell
101+
if: ${{ failure() }}
102+
uses: mxschmitt/action-tmate@v3
103+
timeout-minutes: 30 # optional guard

0 commit comments

Comments
 (0)