Skip to content

Commit 40e4fb2

Browse files
committed
chore(gates): cover the fold helper's -Werror gate in the iOS macOS CI step
ios.yml's clean-installed preparation step now also runs the fold helper's -Werror conformance test and watches apple/fold-helper and packages/platform-apple/src/foldable for changes, matching the existing bridge gate.
1 parent 17193fc commit 40e4fb2

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/ios.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,23 +126,27 @@ jobs:
126126
runtime-version: ${{ env.IOS_RUNTIME_VERSION }}
127127
preferred-device-name: iPhone 17 Pro
128128

129-
- name: Verify clean-installed Simulator snapshot bridge preparation
129+
- name: Verify clean-installed Simulator snapshot bridge preparation and the fold-helper -Werror gate
130130
if: github.event_name == 'pull_request'
131131
env:
132132
BASE_SHA: ${{ github.event.pull_request.base.sha }}
133133
run: |
134134
git fetch origin "$BASE_SHA" --depth=1
135135
if git diff --quiet "$BASE_SHA"...HEAD -- \
136136
apple/snapshot-bridge \
137+
apple/fold-helper \
137138
packages/platform-apple/src/snapshot-source \
139+
packages/platform-apple/src/foldable \
138140
scripts/check-package.ts \
139141
scripts/size-report-install.mjs \
140142
scripts/size-report-package.mjs; then
141-
echo "Snapshot bridge packaging is unchanged; skipping preparation proof."
143+
echo "Snapshot bridge and fold-helper sources are unchanged; skipping preparation proof."
142144
exit 0
143145
fi
144146
pnpm build
145-
pnpm exec vitest run packages/platform-apple/src/snapshot-source/native-runtime.test.ts
147+
pnpm exec vitest run \
148+
packages/platform-apple/src/snapshot-source/native-runtime.test.ts \
149+
packages/platform-apple/src/foldable/fold-helper-cache.test.ts
146150
pnpm check:package -- --verify-snapshot-bridge-preparation
147151
148152
- name: Run targeted iOS runner XCTest regressions

0 commit comments

Comments
 (0)