aboutsummaryrefslogtreecommitdiff
path: root/tools/govanity/e2e_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(tools/govanity): add a test for the repo URLFranck Cuny2022-06-151-0/+40
This test does an HTTP request to ensure the URL for the repository does not return an error. The test tries first to do a DNS resolution to see if we have network access. When we build the binary in the nix sandbox we don't have network access, so we don't want to fail in this situation, we only want to skip. The test is going to be run before we do a deployment. Change-Id: I184f9208210432a5394158d728e556c949e63a24 Reviewed-on: https://cl.fcuny.net/c/world/+/419 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>