Add durable history and incident timelines #20
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| backend: | |
| name: Backend checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install package | |
| run: python -m pip install -e ".[dev]" | |
| - name: Lint | |
| run: ruff check . | |
| - name: Type check | |
| run: mypy agent tools workers | |
| - name: Test | |
| run: pytest | |
| docker: | |
| name: Container build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Build image | |
| run: docker build -t foxhole:ci . | |
| - name: Validate Compose config | |
| run: docker compose -f iac/compose/docker-compose.yml config | |