aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/workflows/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/workflows/test.go')
-rw-r--r--internal/workflows/test.go31
1 files changed, 16 insertions, 15 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go
index d3290f16..85ac5c62 100644
--- a/internal/workflows/test.go
+++ b/internal/workflows/test.go
@@ -31,23 +31,31 @@ var _ = (&Workflow{
{"sandbox", Job{
Name: "Sandbox",
- On: "nix",
+ On: "rosa",
Steps: []Step{
+ fixup,
checkout,
- newNixOSTest("sandbox"),
- newUploadArtifact("test output", "sandbox-vm-output"),
+ toolchain,
+
+ newCIRequest("distribution", "dist -o result", "dist"),
+ install,
+ newTestsuite("sandbox", ""),
},
}},
{"sandbox-race", Job{
- Name: "Sandbox (race detector)",
- On: "nix",
+ Name: "Sandbox (with race instrument)",
+ On: "rosa",
Steps: []Step{
+ fixup,
checkout,
- newNixOSTest("sandbox-race"),
- newUploadArtifact("test output", "sandbox-race-vm-output"),
+ toolchain,
+
+ newCIRequest("distribution", "race -o result", "dist"),
+ install,
+ newTestsuite("sandbox", ""),
},
}},
@@ -82,12 +90,7 @@ var _ = (&Workflow{
"setuid=1023,setgid=1023 /sdcard",
},
- {
- Name: "Compile and run test suite",
- Run: "sharefs -V && rm -rf result && " +
- "go run -tags=testsuite ./test/sharefs ubuntu",
- },
-
+ newTestsuite("sharefs", "sharefs -V && "),
newUploadArtifact("test output", "fs_mark"),
},
}},
@@ -99,8 +102,6 @@ var _ = (&Workflow{
Needs: []string{
"hakurei",
"race",
- "sandbox",
- "sandbox-race",
},
Steps: []Step{