Skip to content

Commit 6f4aca7

Browse files
committed
chore: split tests
1 parent 35e9969 commit 6f4aca7

File tree

2 files changed

+27
-28
lines changed

2 files changed

+27
-28
lines changed

.github/workflows/integrationTests.yaml

+1-28
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: integration-test
1+
name: Integration Tests
22
on:
33
push:
44
branches:
@@ -8,35 +8,8 @@ on:
88
- "*"
99

1010
jobs:
11-
smoke-tests:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
16-
- uses: pnpm/action-setup@v3
17-
with:
18-
version: 9.4.0
19-
20-
- uses: actions/setup-node@v4
21-
with:
22-
node-version: "23"
23-
cache: "pnpm"
24-
25-
- name: Run smoke tests
26-
run: pnpm run smokeTests
27-
28-
approval:
29-
runs-on: ubuntu-latest
30-
needs: smoke-tests
31-
steps:
32-
- name: Wait for manual approval
33-
run: |
34-
echo "Please approve the workflow manually to proceed."
35-
echo "::pause::" # This creates a manual approval checkpoint.
36-
3711
integration-tests:
3812
runs-on: ubuntu-latest
39-
needs: approval
4013
env:
4114
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4215
steps:

.github/workflows/smoke-tests.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: smoke-test
2+
on:
3+
push:
4+
branches:
5+
- "*"
6+
pull_request:
7+
branches:
8+
- "*"
9+
10+
jobs:
11+
smoke-tests:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: pnpm/action-setup@v3
17+
with:
18+
version: 9.4.0
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: "23"
23+
cache: "pnpm"
24+
25+
- name: Run smoke tests
26+
run: pnpm run smokeTests

0 commit comments

Comments
 (0)