It seems to me that public tests are not running:
const internal_test = b.addTest(.{
.root_source_file = b.path("src/tests.zig"), // <-- same path
.optimize = optimize,
.target = target,
.name = "internal_tests",
});
b.installArtifact(internal_test);
// public api tests
const public_test = b.addTest(.{
.root_source_file = b.path("src/tests.zig"), // <-- same path, should be `tests/tests.zig`
.optimize = optimize,
.target = target,
.name = "public_tests",
});
It seems to me that public tests are not running: