aboutsummaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go
index be97194..caca199 100644
--- a/magefile.go
+++ b/magefile.go
@@ -116,6 +116,21 @@ func TestAgainstContainer() error {
if err != nil {
return err
}
+ err = runCommandWithEnv(
+ []string{"RCLONE_CONFIG=" + config.ConfigPath},
+ "go", "-C", "fs/sync", "test", "-parallel=1", "-remote", "TestStudIP:fs/sync", "-v", "-count=1",
+ )
+ if err != nil {
+ return err
+ }
+
+ err = runCommandWithEnv(
+ []string{"RCLONE_CONFIG=" + config.ConfigPath},
+ "go", "-C", "fs/sync", "test", "-parallel=1", "-remote", "TestStudIP:fs/operations", "-v", "-count=1",
+ )
+ if err != nil {
+ return err
+ }
return nil
}