Skip to content

Commit 79daf7f

Browse files
Crash0v3rrid3claude
andcommitted
ci: build/test tests/spm instead of plugin-only root
The repo root is a plugin-only package with no buildable target, so `swift build` there fails ("does not contain a buildable target"). Building the tests/spm harness compiles the a11y-scan command plugin via the path dependency plus the sample sources, so use that as the build step. Verified locally on Swift 6.2: tests/spm `swift build` compiles the plugin, and `swift test` passes with the e2e scan test skipping when RUN_A11Y_SCAN is unset. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 548d284 commit 79daf7f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/spm-smoke-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ jobs:
4444
- name: Swift toolchain
4545
run: swift --version
4646

47-
- name: Build plugin package
47+
# The repo root is a plugin-only package (no buildable target), so it is
48+
# not built directly. Building the tests/spm harness compiles both the
49+
# a11y-scan command plugin (via the path dependency) and the sample sources.
50+
- name: Build harness (compiles the a11y-scan plugin)
51+
working-directory: tests/spm
4852
run: swift build
4953

5054
- name: End-to-end scan smoke (tests/spm)

0 commit comments

Comments
 (0)