|
| 1 | +{ |
| 2 | + "test_impact": { |
| 3 | + "version": 1, |
| 4 | + "tests": { |
| 5 | + "presets": { |
| 6 | + "c-cbm": true |
| 7 | + } |
| 8 | + }, |
| 9 | + "rules": [ |
| 10 | + { |
| 11 | + "id": "harness", |
| 12 | + "paths": ["tests/test_framework.h", "tests/test_helpers.*", "tests/test_main.c"], |
| 13 | + "action": "run_all" |
| 14 | + }, |
| 15 | + { |
| 16 | + "id": "engine", |
| 17 | + "paths": [ |
| 18 | + ".codebase-memory.json", |
| 19 | + "src/mcp/test_impact*", |
| 20 | + "src/store/store_impact.*", |
| 21 | + "scripts/test-impact/**", |
| 22 | + "scripts/ci/test-impact-*" |
| 23 | + ], |
| 24 | + "action": "run_all" |
| 25 | + }, |
| 26 | + { |
| 27 | + "id": "build", |
| 28 | + "paths": [ |
| 29 | + "scripts/build.sh", |
| 30 | + "scripts/env.sh", |
| 31 | + "scripts/test.sh", |
| 32 | + "scripts/run-tests-parallel.sh", |
| 33 | + "scripts/run-test-wave.py", |
| 34 | + "scripts/path-safety.sh", |
| 35 | + "scripts/clean.sh", |
| 36 | + "scripts/suite-failure-report.sh", |
| 37 | + "scripts/ci/verify-shard-union.sh", |
| 38 | + "scripts/embed-frontend.sh", |
| 39 | + "/.gitattributes" |
| 40 | + ], |
| 41 | + "action": "run_all" |
| 42 | + }, |
| 43 | + { |
| 44 | + "id": "grammars", |
| 45 | + "paths": ["internal/cbm/vendored/**"], |
| 46 | + "action": "run_all" |
| 47 | + }, |
| 48 | + { |
| 49 | + "id": "fixtures", |
| 50 | + "paths": ["tests/fixtures/*/**"], |
| 51 | + "action": "referencing_tests", |
| 52 | + "key": "path_segment:2" |
| 53 | + }, |
| 54 | + { |
| 55 | + "id": "contracts", |
| 56 | + "paths": ["tests/**/*.{sh,py,json,txt,ps1}"], |
| 57 | + "action": "ignore" |
| 58 | + }, |
| 59 | + { |
| 60 | + "id": "notices", |
| 61 | + "paths": ["NOTICE*", "CHANGELOG*", "THIRD_PARTY*"], |
| 62 | + "action": "ignore" |
| 63 | + }, |
| 64 | + { |
| 65 | + "id": "repo-data", |
| 66 | + "paths": [ |
| 67 | + "scripts/**", |
| 68 | + "pkg/**", |
| 69 | + "test-infrastructure/**", |
| 70 | + "docs/**", |
| 71 | + "**/*.md", |
| 72 | + "graph-ui/**", |
| 73 | + "tools/**", |
| 74 | + "tests/fuzz/corpus/**", |
| 75 | + "/{.clang-format,.clang-tidy,.cppcheck,.gitignore,.gitleaksignore,DCO,Formula}", |
| 76 | + "/{flake.lock,flake.nix,glama.json,install.ps1,install.sh,server.json}" |
| 77 | + ], |
| 78 | + "action": "referencing_tests", |
| 79 | + "key": "path", |
| 80 | + "unreferenced": "ignore" |
| 81 | + } |
| 82 | + ], |
| 83 | + "unmapped_files": "run_all", |
| 84 | + "coverage": { |
| 85 | + "compatibility_paths": [ |
| 86 | + "tests/test_framework.h", |
| 87 | + "tests/test_main.c", |
| 88 | + "tests/test_helpers.h", |
| 89 | + "Makefile.cbm", |
| 90 | + "scripts/test-impact/coverage-map.py", |
| 91 | + "scripts/test-impact/coverage-merge.py" |
| 92 | + ] |
| 93 | + } |
| 94 | + } |
| 95 | +} |
0 commit comments