mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
16 lines
267 B
Go
16 lines
267 B
Go
// Package testy contains test utilities for rclone
|
|
package testy
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
// SkipUnreliable skips this test if running on CI
|
|
func SkipUnreliable(t *testing.T) {
|
|
if os.Getenv("CI") == "" {
|
|
return
|
|
}
|
|
t.Skip("Skipping Unreliable Test on CI")
|
|
}
|