Skip to content

Commit

Permalink
fix(workflows): add missing integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
golobitch committed Apr 2, 2024
1 parent 5c8044f commit 6649d92
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,29 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

integration-test:
runs-on: ubuntu-22.04
needs: prerequisite
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/workflows/rafiki/env-setup

- name: Setup hosts
run: |
echo "127.0.0.1 cloud-nine-wallet-test-backend" | sudo tee -a /etc/hosts
echo "127.0.0.1 cloud-nine-wallet-test-auth" | sudo tee -a /etc/hosts
echo "127.0.0.1 happy-life-bank-test-backend" | sudo tee -a /etc/hosts
echo "127.0.0.1 happy-life-bank-test-auth" | sudo tee -a /etc/hosts
- name: Build dependencies
run: pnpm --filter integration build:deps

- name: Run tests
run: pnpm --filter integration run-tests

node-build:
runs-on: ubuntu-latest
timeout-minutes: 5
Expand Down

0 comments on commit 6649d92

Please sign in to comment.