Skip to content

Commit

Permalink
Add E2E Tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Feb 16, 2024
1 parent 7c7fef5 commit 9559fc5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: E2E Tests

on: [push, pull_request]

jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out repository code

# Setup Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

# Starting background services
- name: Start background services
run: docker compose up -d --build localstack coordinator participant coordinator_db participant_db

# Running e2e tests
- name: Run e2e tests
run: docker compose up --build e2e_test
# Ensure the action fails if the e2e_test service fails
continue-on-error: false

# Cleanup
- name: Cleanup
if: always()
run: docker compose down --volumes --remove-orphans

0 comments on commit 9559fc5

Please sign in to comment.