Skip to content

Restructure tests into unit, integration, and e2e tiers #7

Restructure tests into unit, integration, and e2e tiers

Restructure tests into unit, integration, and e2e tiers #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
shell: bash
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Cache uv packages
uses: actions/cache@v4
with:
path: ~/.cache/uv
key: ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
restore-keys: |
${{ runner.os }}-uv-
- name: Install dependencies
run: uv sync --extra dev
- name: Run targeted tests
env:
DISABLE_NEO4J: '1'
DISABLE_FALKORDB: '1'
DISABLE_KUZU: '1'
DISABLE_NEPTUNE: '1'
run: |
uv run pytest tests/unit/orchestration/test_bulk_serialization.py tests/unit/search/test_search_utils_filters.py
uv run pytest tests/integration/core/shared/test_ingestion_pipeline.py::test_add_episode_persists_nodes_and_edges