Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

Fix two CI legs that had never run: a PowerShell step and a module path

FABIOTESSc64b2de21407
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 00e4a28b..4c8e6cf8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -47,6 +47,13 @@ jobs:
# log instead of invisible in a pass. tests/common/mod.rs emits the
# marker, and OO_REQUIRE_FIXTURES=1 turns each skip into a failure for
# any job that is supposed to supply the fixtures.
+ #
+ # `shell: bash` because the matrix includes Windows, where a `run:`
+ # block defaults to PowerShell and this one is a bash script. It failed
+ # the whole Windows leg on the line it was written to be harmless on,
+ # contradicting the "does not fail the build" above. The runner ships
+ # bash, so naming it is the whole fix.
+ shell: bash
run: |
n=$(grep -c 'SKIPPED_FIXTURE:' cargo-test.log || true)
echo "$n test(s) skipped for a missing fixture"
diff --git a/tests/embed_test.rs b/tests/embed_test.rs
index 3eb168b7..0a0f3192 100644
--- a/tests/embed_test.rs
+++ b/tests/embed_test.rs
@@ -21,7 +21,7 @@ mod tests {
let tokenizer_path = model_dir.join("tokenizer.json");
if !model_path.exists() {
- common::skip_unless(false, "embedding model",
+ crate::common::skip_unless(false, "embedding model",
"Run `open-ontologies init` first.");
return;
}
@@ -48,7 +48,7 @@ mod tests {
let tokenizer_path = model_dir.join("tokenizer.json");
if !model_path.exists() {
- common::skip_unless(false, "embedding model",
+ crate::common::skip_unless(false, "embedding model",
"Run `open-ontologies init` first.");
return;
}
diff --git a/tests/embedding_e2e_test.rs b/tests/embedding_e2e_test.rs
index 3582f955..a8d5e1a7 100644
--- a/tests/embedding_e2e_test.rs
+++ b/tests/embedding_e2e_test.rs
@@ -23,7 +23,7 @@ mod tests {
#[test]
fn test_e2e_embed_search_align() {
if !model_available() {
- common::skip_unless(false, "embedding model",
+ crate::common::skip_unless(false, "embedding model",
"Run `open-ontologies init` first.");
return;
}