From d1a648f9379fe2b4f6a3b2230889d520cae2f868 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 17 Oct 2026 17:30:15 +0900 Subject: cmd/hakurei/testsuite: migrate tests This runs much faster than the NixOS test suite, and is much more precise. This also uncovered a recent severe pipewire regression. This change removes all remaining deprecated nix code. Closes #22. Signed-off-by: Ophestra --- internal/workflows/test.go | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'internal/workflows/test.go') diff --git a/internal/workflows/test.go b/internal/workflows/test.go index 5ca795c6..b0819916 100644 --- a/internal/workflows/test.go +++ b/internal/workflows/test.go @@ -7,25 +7,27 @@ var _ = (&Workflow{ On: []any{"push"}, Jobs: Map[Job]{ - {"hakurei-legacy", Job{ - Name: "Hakurei (legacy)", - On: "nix", + {"hakurei", Job{ + Name: "Hakurei", + On: "rosa", Steps: []Step{ checkout, - newNixOSTest("hakurei"), - newUploadArtifact("test output", "hakurei-vm-output"), + dist, + install, + newTestsuite("hakurei/testsuite", "unshare -n "), }, }}, - {"hakurei-race-legacy", Job{ - Name: "Hakurei (legacy with race instrument)", - On: "nix", + {"hakurei-race", Job{ + Name: "Hakurei (with race instrument)", + On: "rosa", Steps: []Step{ checkout, - newNixOSTest("race"), - newUploadArtifact("test output", "hakurei-race-vm-output"), + _dist, + install, + newTestsuite("hakurei/testsuite", "unshare -n "), }, }}, -- cgit v1.3.1