From 13d84cd21d42208c6c3f50f855ba68b8d166eeab Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Thu, 5 Nov 2026 22:13:28 -0500 Subject: [PATCH] Fix Rust test report outputs in rust and rustjswasm templates make test wrote Cobertura coverage to junit.xml, which the CI test-result steps read as JUnit. Write it to coverage.xml instead. rustjswasm is a root Cargo workspace, so nextest only reads .config/nextest.toml at the repository root and ignored rust/.config/nextest.toml. Move it to the root. Remove rustjswasm's rust/Cargo.lock, which Cargo never reads because the workspace lockfile is at the root. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --- python/rust/rust/Makefile.jinja | 2 +- python/rustjswasm/{rust => }/.config/nextest.toml | 0 python/rustjswasm/rust/Cargo.lock | 3 --- python/rustjswasm/rust/Makefile.jinja | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) rename python/rustjswasm/{rust => }/.config/nextest.toml (100%) delete mode 100644 python/rustjswasm/rust/Cargo.lock diff --git a/python/rust/rust/Makefile.jinja b/python/rust/rust/Makefile.jinja index 83a3b1a..d0d1054 100644 --- a/python/rust/rust/Makefile.jinja +++ b/python/rust/rust/Makefile.jinja @@ -31,7 +31,7 @@ checks: check .PHONY: test tests test-ci tests-ci test: ## run the tests - cargo llvm-cov nextest --cobertura --output-path junit.xml + cargo llvm-cov nextest --cobertura --output-path coverage.xml # alias tests: test diff --git a/python/rustjswasm/rust/.config/nextest.toml b/python/rustjswasm/.config/nextest.toml similarity index 100% rename from python/rustjswasm/rust/.config/nextest.toml rename to python/rustjswasm/.config/nextest.toml diff --git a/python/rustjswasm/rust/Cargo.lock b/python/rustjswasm/rust/Cargo.lock deleted file mode 100644 index 375a0b6..0000000 --- a/python/rustjswasm/rust/Cargo.lock +++ /dev/null @@ -1,3 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 diff --git a/python/rustjswasm/rust/Makefile.jinja b/python/rustjswasm/rust/Makefile.jinja index ce5c248..2e60714 100644 --- a/python/rustjswasm/rust/Makefile.jinja +++ b/python/rustjswasm/rust/Makefile.jinja @@ -33,7 +33,7 @@ checks: check .PHONY: test tests test-ci tests-ci test: ## run the tests - cargo llvm-cov nextest --cobertura --output-path junit.xml + cargo llvm-cov nextest --cobertura --output-path coverage.xml # alias tests: test