Skip to content

Commit

Permalink
Add integration tests to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsam29 committed Aug 5, 2023
1 parent 5a75763 commit 55f5498
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,29 @@ jobs:
- name: Install node dependencies and run Tests
run: npm install-ci-test

integration-tests:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install node dependencies
run: npm install
- name: Build Containers
run: docker compose up -d
- name: Setup Local AWS Resources
run: ./scripts/local-aws-setup.sh
- name: Run Hurl Tests
run: npm run test:integration

docker-hub:
name: Build and Push to Docker Hub
needs: [lint, dockerfile-lint, unit-tests]
needs: [lint, dockerfile-lint, unit-tests, integration-tests]
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
Expand Down

0 comments on commit 55f5498

Please sign in to comment.