diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-10 14:02:27 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-10 14:02:27 -0600 |
| commit | 782af3f62d23b5f0e36241fe7538244fb1b6730d (patch) | |
| tree | 9fca686622756667cac978dd0aca8e7e85dce155 /magefile.go | |
| parent | 5083ab853bd9c619fe750fdd6e2b3f22ab9e98dd (diff) | |
chore: add some end to end tests
Diffstat (limited to 'magefile.go')
| -rw-r--r-- | magefile.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go index 9272dd4..52dddea 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", "./...") } |
