From d4f516644ae47e31486981bde963307f1990684e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=BB=8B=E6=B6=A6?= <807046079@qq.com> Date: Tue, 12 Nov 2024 00:51:00 +0800 Subject: [PATCH] changes --- .github/workflows/common-test-and-update-docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/common-test-and-update-docs.yml b/.github/workflows/common-test-and-update-docs.yml index 34aef6e..061a698 100644 --- a/.github/workflows/common-test-and-update-docs.yml +++ b/.github/workflows/common-test-and-update-docs.yml @@ -51,14 +51,15 @@ jobs: done - name: Go mod - run: | + run: | + chmod -R 666 ./docker go mod download go mod tidy - name: Exec test run: | go install github.com/jstemmer/go-junit-report@latest - go test -timeout 5m -v ./api/... ./global/... ./test/... ./service/... ./model/... -coverprofile=docs/coverage.out > docs/test-output.log + go test -timeout 5m -v ./... -coverprofile=docs/coverage.out > docs/test-output.log cat docs/test-output.log go-junit-report < docs/test-output.log > docs/test-report.xml