Skip to content
Snippets Groups Projects
Unverified Commit e05573e8 authored by Michael Muré's avatar Michael Muré
Browse files

ci: disable a test on github-action

It seems that the CI environment kill non authenticated requests
parent dd31ae81
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,10 @@ func TestValidateUsername(t *testing.T) {
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
input string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment