mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +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")
|
||
|
}
|