aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/workflows/test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-17 17:30:15 +0900
committerOphestra <cat@gensokyo.uk>2026-10-17 18:01:12 +0900
commitd1a648f9379fe2b4f6a3b2230889d520cae2f868 (patch)
treea9d74fc44d7a4bb135af5b2acccdc8b14fb4bcd8 /internal/workflows/test.go
parent79cd9088c7b541d2a3c9e9cad879f0ae46632ca6 (diff)
cmd/hakurei/testsuite: migrate testsHEADmasterdevelop
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/test.go')
-rw-r--r--internal/workflows/test.go22
1 files changed, 12 insertions, 10 deletions
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 "),
},
}},