Not sure if it's a good idea, but you could put them in a separate Go module and only import that from tests. That way they *should* not get downloaded when the module is only imported as a dependency. I think. OTOH you'd have to use `go:embed` to export them, which means every `go test` has to link in a couple hundred MB of data, which is also not great. Alternatively, the tests could download and unpack them themselves - though that is less hermetic, there is a danger of the downloaded version of the test data and the one the test expect drifting apart.
Really, the best would probably be to try and reduce the number and/or size of those files.