From 765be703233aee7e890d8ae1e95b1b08d3b03d98 Mon Sep 17 00:00:00 2001 From: guillep2k <18600385+guillep2k@users.noreply.github.com> Date: Mon, 2 Sep 2019 16:12:29 -0300 Subject: Make CI work (#8057) * Use export GOPROXY=https://goproxy.cn before build * Add go version to generate command * Reproduced the entire build procedure - see notes I've used: sudo go clean -i -r -cache -testcache -modcache make clean make generate make golangci-lint make revive make swagger-check make swagger-validate make test-vendor <--- this now fails make vendor <--- this now produced changes git commit -a <--- this commit * Add fix from #8059 to complete CI tests --- integrations/pull_create_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integrations') diff --git a/integrations/pull_create_test.go b/integrations/pull_create_test.go index 8f39e8b028..84bcbff0dc 100644 --- a/integrations/pull_create_test.go +++ b/integrations/pull_create_test.go @@ -100,7 +100,7 @@ func TestPullCreate_TitleEscape(t *testing.T) { htmlDoc = NewHTMLParser(t, resp.Body) titleHTML, err := htmlDoc.doc.Find(".comments .event .text b").First().Html() assert.NoError(t, err) - assert.Equal(t, "<i>XSS PR</i>", titleHTML) + assert.Equal(t, "<i>XSS PR</i>", titleHTML) titleHTML, err = htmlDoc.doc.Find(".comments .event .text b").Next().Html() assert.NoError(t, err) assert.Equal(t, "<u>XSS PR</u>", titleHTML) -- cgit v1.2.3