diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-03 15:51:56 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-03 18:00:30 +0900 |
| commit | aeb0ac9a329a253baf516be6ecfbdc4a750c6df6 (patch) | |
| tree | 275f7fd39936dfb65ee56e58163d1a2d816a7c36 /internal/workflows/test.go | |
| parent | 4b19686109b0962ea68dfe58feafffe3bac9c202 (diff) | |
internal/workflows: cache installed packages
This avoids re-downloading packages on every run.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/test.go')
| -rw-r--r-- | internal/workflows/test.go | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go index d3290f16..40e1a076 100644 --- a/internal/workflows/test.go +++ b/internal/workflows/test.go @@ -59,11 +59,7 @@ var _ = (&Workflow{ fixup, checkout, toolchain, - - { - Name: "install fuse and fs_mark", - Run: "apt-get update && apt-get install -y fuse3 fsmark", - }, + newPackages(0, "fuse3", "fsmark"), newCIRequest("distribution", "dist -o result", "dist"), install, @@ -82,12 +78,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"), }, }}, |
