Open RomainMuller opened 3 weeks ago
Thanks for opening this issue, yeah the MustExtractDockerHost
panics if no docker host/socket is discovered. I think that test helper could be improved to recover on panics and effectively skip the test in that case.
Would you like to work on a fix for that?
Testcontainers version
0.34.0
Using the latest Testcontainers version?
Yes
Host OS
macOS
Host arch
x86, ARM64
Go version
1.22 / 1.23
Docker version
Docker is not available on
macos-latest
GitHub Actions runners.Docker info
Docker is not available on
macos-latest
GitHub Actions runners.What happened?
Attempting to skip tests on runners where Docker is not usable using
github.com/testcontainers/testcontainers-go.SkipIfProviderIsNotHealthy
; tests still fail on an unconditionalpanic
onmacos-latest
runners in GitHub Actions.Relevant log output
Additional information
No response