Skip to content

ci: put vcpkg's protoc on PATH for the Windows test legs - #44

Merged
trendvidia merged 2 commits into
mainfrom
ci-windows-protoc
Nov 7, 2026
Merged

trendvidia merged 2 commits into
mainfrom
ci-windows-protoc

Conversation

@bfrancojr

Copy link
Copy Markdown
Collaborator

Fixes #43.

On main, every Windows leg skips 67 tests (85 passed, 67 skipped on windows-latest / py3.13, run 42274927719), all for protoc not available except the SBE view tests. vcpkg's protobuf includes protoc at installed\x64-windows\tools\protobuf\protoc.exe (the build step's CMake reports finding it there), but the pytest step only put bin on PATH.

This adds tools\protobuf to PATH in the pytest (Windows) step. Nothing else changes.

Evidence

Only Windows CI can show this. I'll post the Windows legs' pass/skip counts here when the run finishes. Expected: the skips drop to the 5 SBE view tests that Linux skips too. Any other skip, or a failure in a test that has never run on Windows before, gets reported here as it is.

Every test that compiles a schema skipped on Windows with "protoc not
available": 67 of 152 on main. vcpkg installs protoc under
tools\protobuf, and only bin was on PATH.

Fixes #43
@bfrancojr

Copy link
Copy Markdown
Collaborator Author

CI on head 0643f98 (main with #42 merged in): 18 of 18 checks SUCCESS, run 42285351101.

All four Windows test legs (py3.10–3.13) now read 175 passed, 5 skipped, 1 xfailed, which is the same line as the Ubuntu and macOS py3.13 legs. Before this change, main's Windows legs read 85 passed / 67 skipped.

The 5 skips that remain are the tests/test_sbe_view_navigation.py view tests, which need a spec checkout and are skipped on every OS. The xfail is the strict pin for protowire-cpp#160. None of the tests that run on Windows for the first time failed.

@trendvidia
trendvidia merged commit df004ec into main Nov 7, 2026
18 checks passed
@trendvidia
trendvidia deleted the ci-windows-protoc branch November 7, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: Windows test legs skip 67 tests because protoc is not on PATH

2 participants