summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-10 14:02:27 -0600
committermo khan <mo@mokhan.ca>2025-03-10 14:02:27 -0600
commit782af3f62d23b5f0e36241fe7538244fb1b6730d (patch)
tree9fca686622756667cac978dd0aca8e7e85dce155 /magefile.go
parent5083ab853bd9c619fe750fdd6e2b3f22ab9e98dd (diff)
chore: add some end to end tests
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go
index 9272dd4d..52dddeaa 100644
--- a/magefile.go
+++ b/magefile.go
@@ -89,6 +89,10 @@ func Run(ctx context.Context) {
mg.CtxDeps(ctx, Idp, UI, Api, Gateway)
}
+// Run the end to end tests
func Test(ctx context.Context) error {
+ mg.CtxDeps(ctx, func() error {
+ return sh.RunV("go", "clean", "-testcache")
+ })
return sh.RunV("go", "test", "-v", "./...")
}