mirror of https://github.com/daffainfo/nuclei.git
ignore example test in ci
parent
fc2ad66181
commit
5997be74ec
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue