mirror of
https://github.com/kopia/kopia.git
synced 2026-04-03 14:02:24 -04:00
use gotestsum for htmlui-e2e tests (#5258)
This commit is contained in:
2
.github/workflows/htmlui-tests.yml
vendored
2
.github/workflows/htmlui-tests.yml
vendored
@@ -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
|
||||
|
||||
3
Makefile
3
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)
|
||||
|
||||
Reference in New Issue
Block a user