Skip to content

Commit

Permalink
Merge pull request #1390 from elizaOS/fix/integration_tests
Browse files Browse the repository at this point in the history
chore: split tests
  • Loading branch information
shakkernerd authored Dec 23, 2024
2 parents f128f3b + c87d0b3 commit 307b9c0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/integrationTests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: integration-test
name: Integration Tests
on:
push:
branches:
Expand All @@ -8,35 +8,8 @@ on:
- "*"

jobs:
smoke-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.4.0

- uses: actions/setup-node@v4
with:
node-version: "23"
cache: "pnpm"

- name: Run smoke tests
run: pnpm run smokeTests

approval:
runs-on: ubuntu-latest
needs: smoke-tests
steps:
- name: Wait for manual approval
run: |
echo "Please approve the workflow manually to proceed."
echo "::pause::" # This creates a manual approval checkpoint.
integration-tests:
runs-on: ubuntu-latest
needs: approval
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: smoke-test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
smoke-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.4.0

- uses: actions/setup-node@v4
with:
node-version: "23"
cache: "pnpm"

- name: Run smoke tests
run: pnpm run smokeTests

0 comments on commit 307b9c0

Please sign in to comment.