-
Notifications
You must be signed in to change notification settings - Fork 61
76 lines (67 loc) · 1.75 KB
/
Copy pathe2e.yml
File metadata and controls
76 lines (67 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: E2E Tests
on:
pull_request:
paths:
- 'gateway/**'
- 'verifier/**'
- 'tests/**'
- 'run_e2e.sh'
- 'deploy/**'
- 'DEPLOY.md'
- '.env.production.example'
- 'docker-compose.yml'
- 'package.json'
- 'bun.lock'
- 'tsconfig.json'
- '.github/workflows/e2e.yml'
push:
branches: [main]
paths:
- 'gateway/**'
- 'verifier/**'
- 'tests/**'
- 'run_e2e.sh'
- 'deploy/**'
- 'DEPLOY.md'
- '.env.production.example'
- 'docker-compose.yml'
- 'package.json'
- 'bun.lock'
- 'tsconfig.json'
- '.github/workflows/e2e.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e:
runs-on: ubuntu-latest
env:
OPENROUTER_API_KEY: ""
OPENROUTER_MODEL: ${{ vars.OPENROUTER_MODEL || 'z-ai/glm-4.5-air:free' }}
RECEIPT_STORE: memory
CACHE_ENABLED: "false"
PAYGATE_AUDIENCE: http://localhost:3000
MIN_AUTHORIZATION_VERSION: "2"
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24.x'
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.3.13'
- name: Install JS deps
run: bun install --frozen-lockfile
- name: Prep Go/Rust deps
run: |
go mod download -C gateway
cargo fetch --manifest-path verifier/Cargo.toml
- name: Run deterministic E2E
run: |
chmod +x ./run_e2e.sh
timeout 300 ./run_e2e.sh