From 52ef5e96f543ca242a9e1e8f2917492eb3d3fb95 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 8 Dec 2020 15:03:56 +0100 Subject: add github actions --- bridge/github/config_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bridge/github') diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go index eecb1aa8..01907435 100644 --- a/bridge/github/config_test.go +++ b/bridge/github/config_test.go @@ -103,6 +103,9 @@ func TestValidateUsername(t *testing.T) { if env := os.Getenv("TRAVIS"); env == "true" { t.Skip("Travis environment: avoiding non authenticated requests") } + if _, has := os.LookupEnv("CI"); has { + t.Skip("Github action environment: avoiding non authenticated requests") + } tests := []struct { name string -- cgit