Skip to content

ci: fold tests into package-* jobs, drop redundant test job - #55

Merged
transfix merged 1 commit into
masterfrom
fix/fold-tests-into-package
May 11, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/fold-tests-into-package

Conversation

@transfix

Copy link
Copy Markdown
Owner

Before: 18 builds per push (6 test + 12 package-*), each with its own configure/build. The standalone test job built with CUDA=OFF, CGAL=OFF, MESHER=OFF, SDF=OFF, so it never exercised the code paths the shipped artifacts contain. The package-* jobs ran independently of test, so a failing test did not block artifact uploads.

After: 12 builds per push. ctest runs inside each package-* job on libcvc-kind builds, between Build and Pack. CGAL / Mesher / SDF / CUDA are enabled for both libcvc and volrover3 builds. cpack only runs if ctest passes.

Coverage report + Codecov upload moved into package-linux libcvc-debug.

Each push previously triggered 18 builds (6 test + 12 package) and the
package-* jobs ran even on test failure. Worse, the test builds were
configured with CUDA=OFF, CGAL=OFF, MESHER=OFF, SDF=OFF, so they never
exercised the code we actually shipped.

Drop the standalone test job and run ctest inside the package-* jobs
on libcvc-kind builds, after the same configure/build the artifacts
go through. cpack only runs if ctest passes (default sequential step
semantics). Coverage report + Codecov upload move into package-linux
libcvc-debug.

Net effect: 18 builds -> 12 builds, tests cover the artifacts we ship,
and a test regression now blocks the upload step.
@transfix
transfix merged commit 839fe63 into master May 11, 2026
9 of 13 checks passed
@transfix
transfix deleted the fix/fold-tests-into-package branch May 11, 2026 07:56
transfix added a commit that referenced this pull request May 11, 2026
geometry_test.cpp:1030 called std::min(source.num_points(), size_t(100))
where num_points() returns uint64_t. On macOS arm64 size_t is unsigned
long and uint64_t is unsigned long long; even though they are the same
width, template deduction fails. Linux x86_64 happens to typedef both
as unsigned long so this only broke on macOS.

The bug was latent until #55 turned on CVC_BUILD_TESTS=ON in the macOS
package-* jobs. Use an explicit template argument so the literal 100
just deduces to size_t.
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.

1 participant