diff --git a/.github/workflows/htmlui-tests.yml b/.github/workflows/htmlui-tests.yml index 4ec2d7c33..a238148cf 100644 --- a/.github/workflows/htmlui-tests.yml +++ b/.github/workflows/htmlui-tests.yml @@ -36,6 +36,8 @@ jobs: go-version-file: 'go.mod' check-latest: true id: go + - name: Install gotestsum + run: make install-gotestsum - name: Run Tests run: make htmlui-e2e-test - name: Upload Screenshots diff --git a/Makefile b/Makefile index 92728dc4a..0818105b2 100644 --- a/Makefile +++ b/Makefile @@ -385,8 +385,9 @@ ifneq ($(GOOS),windows) -e github.com/kopia/kopia/issues && exit 1 || echo repo/ layering ok endif +htmlui-e2e-test: GOTESTSUM_FORMAT=testname htmlui-e2e-test: - HTMLUI_E2E_TEST=1 go test -timeout 600s github.com/kopia/kopia/tests/htmlui_e2e_test -v $(TEST_FLAGS) + HTMLUI_E2E_TEST=1 $(GO_TEST) -timeout 600s github.com/kopia/kopia/tests/htmlui_e2e_test -v $(TEST_FLAGS) htmlui-e2e-test-local-htmlui-changes: (cd ../htmlui && npm run build)