feat: implement local-first auth mode with env-based API key support,… #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: Research Corpus CI (Disabled) | |
| # Stubbed: this workflow requires ingest-specific dependencies and a live | |
| # Supabase connection. It is disabled by default for open-source contributors. | |
| # Re-enable by removing the `if: false` guard from the job. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - "scripts/ingest_corpus/**" | |
| - "tests/research_corpus/**" | |
| - ".github/workflows/research-corpus-ci.yml" | |
| pull_request: | |
| paths: | |
| - "scripts/ingest_corpus/**" | |
| - "tests/research_corpus/**" | |
| jobs: | |
| validate: | |
| if: false # Remove this line to re-enable. Requires Supabase secrets. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r api/requirements.txt | |
| pip install -r scripts/ingest_corpus/requirements-ingest.txt pandas pyarrow pytest | |
| - name: Run research corpus tests | |
| run: pytest tests/research_corpus -q |