mirror of
https://github.com/kopia/kopia.git
synced 2026-10-08 18:11:24 -04:00
use gotestsum for htmlui-e2e tests (#5258)
This commit is contained in:
1 parent
67f26feb93
commit
5a9bf683ae
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user