Merge pull request #1 from webfuse-com/sync/2026-04-28 #4
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: Argus CI | |
| # Runs on Argus's long-lived working branch and on PRs targeting it. | |
| # Additive — does not modify upstream's backend-unit-tests.yml so weekly | |
| # upstream merges never produce conflicts in this file. | |
| # | |
| # Same install + test steps as backend-unit-tests.yml, plus the | |
| # postgres checkpointer install (Argus uses pgvector, the postgres | |
| # checkpointer is required for our test_postgres_aprune.py to actually | |
| # run rather than skip). | |
| on: | |
| push: | |
| branches: ['argus'] | |
| pull_request: | |
| branches: ['argus'] | |
| concurrency: | |
| group: argus-ci-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| argus-backend-unit-tests: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install backend dependencies | |
| working-directory: backend | |
| run: uv sync --group dev | |
| - name: Install postgres checkpointer (Argus overlay deps) | |
| working-directory: backend | |
| run: | | |
| uv pip install \ | |
| "langgraph-checkpoint-postgres>=3.0.3" \ | |
| "psycopg[binary]>=3.2.0" \ | |
| "psycopg-pool>=3.2.0" | |
| - name: Run unit tests | |
| working-directory: backend | |
| run: make test |