Skip to content

Add Docker-based integration test environment #4

Add Docker-based integration test environment

Add Docker-based integration test environment #4

Workflow file for this run

name: Integration Tests
on:
workflow_dispatch:
# Run on PRs that touch app code (not docs-only changes).
pull_request:
paths:
- "src/**"
- "Cargo.toml"
- "Cargo.lock"
- "tests/integration/**"
env:
CARGO_TERM_COLOR: always
jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Build test container
run: |
docker compose -f tests/integration/docker-compose.yml build
- name: Run integration tests
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: |
docker compose -f tests/integration/docker-compose.yml run \
--rm integration-test