checkPhase with tests that connect to external endpoints

Hi!

I’m trying to build a Go app using buildGoModule.
This app bundles some tests that make external http requests (using shell, go and python scripts).

I can, of course, build it with checkPhase = false; but, do we have an alternative?
I still need to learn about FOD’s, would that be a solution? Or maybe projects like nix-buildproxy?

Regards,

I suppose it depends what they test, how much you value them, and whether it’s something you mean to upstream to nixpkgs or not.

The most common answer is probably to disable only the specific tests that need the network.

Buildproxy would probably work, but I would only bother if the tests will still be interesting/helpful with the network ~mocked out.