Some of Bitrise CLI tests at https://github.com/bitrise-io/bitrise/tree/master/_tests/integration require internet connection e.g.
It causes issues in networkless environments like this: https://github.com/gentoo/gentoo/pull/9345#issuecomment-411667582
For now I mitigated that issue by removing all the test files requiring network connection prior to starting tests. List of those files was created manually basing on which tests had failed. However, it is not an ideal solution. E.g. when new test files are added the list needs to be updated.
Is there any other recommended solution? E.g. it seems that go build tags can be used here. Or maybe all those tests are intended to run only in environment having network connectivity?