HasDockerTestEnvironment returns true when either: 1) Not on Github Actions. 2) On Github's Linux environment, where Docker is available.
()
| 306 | // 1) Not on Github Actions. |
| 307 | // 2) On Github's Linux environment, where Docker is available. |
| 308 | func HasDockerTestEnvironment() bool { |
| 309 | s := os.Getenv("RUNNER_OS") |
| 310 | return s == "" || s == "Linux" |
| 311 | } |
no outgoing calls