coder/testutil/ci.go

11 lines
97 B
Go

package testutil
import (
"os"
)
func InCI() bool {
_, ok := os.LookupEnv("CI")
return ok
}