-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.01 KB
/
integration_test.yml
File metadata and controls
36 lines (34 loc) · 1.01 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
name: Integration Tests
on:
push:
branches:
- main
jobs:
integration_tests:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "^1.22"
- name: Install Goat
run: go install github.com/studio-b12/goat/cmd/goat@latest
- name: Install vercel CLI
run: bun install --global vercel
- name: Run Vercel Dev
run: |
vercel dev --token ${{ secrets.VERCEL_TOKEN }} --yes &
for attempt in {1..20}; do sleep 1; if curl http://localhost:3000; then echo ready; break; fi; echo waiting ...; done
goat --params tests/dev.params.toml tests/tests.goat