E2E Tests #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Tests | |
on: | |
schedule: | |
- cron: "0 17 * * *" # 10:00 PDT (UTC-7) | |
workflow_dispatch: | |
jobs: | |
e2e-tests: | |
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: "1.18.x" | |
otp-version: "27.x" | |
- name: Start E2E environment | |
run: | | |
make e2e-rebuild | |
# Wait for containers to be healthy | |
timeout 60s bash -c 'until docker ps | grep -q "(healthy)"; do sleep 1; done' | |
- name: Run E2E tests | |
run: make e2e-tests |