Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ jobs:
- 'hack/test_ci_scope.py'
- 'hack/check_changed_coverage.py'
- 'hack/test_check_changed_coverage.py'
- 'hack/move_parity.py'
- 'hack/test_move_parity.py'
- 'hack/check-ci-report-coverage.sh'
- 'hack/test-check-ci-report-coverage.sh'
- 'hack/testdata/check-ci-report-coverage/**'
Expand Down Expand Up @@ -715,6 +717,28 @@ jobs:
- name: submodule pointers are on upstream main
run: ./hack/check-submodule-freshness.sh

# Spec 028: a PR that adds a move brief under specs/028-split-big-packages/briefs/ must
# keep every test name and change test files only in the OD-6/OD-9 mechanical ways.
# PR-only and needs no scope: it skips itself when the change carries no brief.
move-parity:
name: move parity (spec 028)
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
submodules: false
persist-credentials: false
- name: test names and test edits
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.sha }}
run: python3 hack/move_parity.py ci --base "$BASE_SHA" --head "$HEAD_SHA"

# Spec 013 G4: block a PR that adds a dependency with a known high or
# critical advisory. PR-only; on push it is skipped, which the report
# already counts as neutral. No failure-proof fixture by ruling (OD-4).
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -494,3 +494,4 @@ clean: ## Remove build artifacts
test-ci-scope: ## Verify dependency-aware CI and image selection (CI only)
python3 -m unittest discover -s hack -p 'test_ci_scope.py' -v
python3 -m unittest discover -s hack -p 'test_check_changed_coverage.py' -v
python3 -m unittest discover -s hack -p 'test_move_parity.py' -v
Loading
Loading