mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
ci: remove self-reference from change detection paths
ci.yaml was in all three check_paths calls, so creating/modifying the workflow itself triggered all test jobs. Workflow-only PRs should skip tests — the gate job still validates the pattern.
This commit is contained in:
parent
5877864fc8
commit
7e40e944b1
1 changed files with 4 additions and 7 deletions
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
|
|
@ -62,18 +62,15 @@ jobs:
|
|||
# Unit tests: code + test infra + java + packages + build config
|
||||
check_paths unit_tests \
|
||||
'codeflash/' 'codeflash-benchmark/' 'codeflash-java-runtime/' \
|
||||
'tests/' 'packages/' 'pyproject.toml' 'uv.lock' \
|
||||
'.github/workflows/ci.yaml'
|
||||
'tests/' 'packages/' 'pyproject.toml' 'uv.lock'
|
||||
|
||||
# Type checking: code + build config + mypy config
|
||||
check_paths type_check \
|
||||
'codeflash/' 'pyproject.toml' 'uv.lock' 'mypy_allowlist.txt' \
|
||||
'.github/workflows/ci.yaml'
|
||||
'codeflash/' 'pyproject.toml' 'uv.lock' 'mypy_allowlist.txt'
|
||||
|
||||
# E2E tests: code + tests + build config + this workflow
|
||||
# E2E tests: code + tests + build config
|
||||
check_paths e2e \
|
||||
'codeflash/' 'tests/' 'pyproject.toml' 'uv.lock' \
|
||||
'.github/workflows/ci.yaml'
|
||||
'codeflash/' 'tests/' 'pyproject.toml' 'uv.lock'
|
||||
env:
|
||||
MERGE_BASE: ${{ steps.merge_base.outputs.sha }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue