mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
hugolib: Disable shaky leaktest on CI
This commit is contained in:
@@ -208,3 +208,7 @@ func writeSourcesToSource(t *testing.T, base string, fs *hugofs.Fs, sources ...s
|
||||
writeSource(t, fs, filepath.Join(base, src.Name), string(src.Content))
|
||||
}
|
||||
}
|
||||
|
||||
func isCI() bool {
|
||||
return os.Getenv("CI") != ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user