summaryrefslogtreecommitdiff
path: root/test/integration/ci.go
blob: 7b5280f298324c95b1000e51bec4a596aa96096e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package test

import (
	"testing"

	"github.com/xlgmokha/x/pkg/env"
)

func isGitlabCI(t *testing.T) bool {
	t.Logf("CI? %v\n", env.Fetch("CI", ""))
	return env.Fetch("CI", "") == "true"
}