Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

ci: skip heavy/integration tests to reduce CI runtime

KaifAhmad1868109fa347d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a4d268d4..cd1e4048 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,4 +28,27 @@ jobs:
- run: pip install build
- run: python -m build
- run: pip install -e ".[dev]"
- - run: pytest tests/ -x -q
+ - run: |
+ pytest tests/ -x -q \
+ -m "not integration" \
+ --ignore=tests/cookbook \
+ --ignore=tests/integration \
+ --ignore=tests/graph_store \
+ --ignore=tests/vector_store \
+ --ignore=tests/visualization \
+ --ignore=tests/test_notebooks_plain.py \
+ --ignore=tests/test_notebooks_repro.py \
+ --ignore=tests/test_notebooks_simulation.py \
+ --ignore=tests/test_notebooks_verification.py \
+ --ignore=tests/test_notebook_15_export.py \
+ --ignore=tests/test_030_realworld_comprehensive.py \
+ --ignore=tests/test_030_context_graph_realworld_extended.py \
+ --ignore=tests/test_all_features.py \
+ --ignore=tests/test_semantic_extract_deepdive.py \
+ --ignore=tests/test_semantic_extract_deepdive_part2.py \
+ --ignore=tests/test_groq_integration.py \
+ --ignore=tests/test_novita_integration.py \
+ --ignore=tests/test_snowflake_ingestor.py \
+ --ignore=tests/test_amazon_neptune.py \
+ --ignore=tests/test_hf_deep_verify.py \
+ --ignore=tests/test_embedding_providers.py
diff --git a/pyproject.toml b/pyproject.toml
index a6abe1fc..e14d43ed 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -220,3 +220,6 @@ profile = "black"
[tool.pytest.ini_options]
testpaths = ["tests"]
+markers = [
+ "integration: marks tests that require external services or API keys (deselect with '-m not integration')",
+]