ignore example test in ci

dev
Tarun Koyalwar 2023-10-30 16:17:33 +05:30
parent fc2ad66181
commit 5997be74ec
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ func ExampleThreadSafeNucleiEngine() {
func TestMain(m *testing.M) {
// this file only contains testtables examples https://go.dev/blog/examples
// and actual functionality test are in sdk_test.go
if os.Getenv("GH_ACTION") != "" {
if os.Getenv("GH_ACTION") != "" || os.Getenv("CI") != "" {
// no need to run this test on github actions
return
}