File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed
Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 go-version : " ^1.24.0"
4040
41- - name : " Install golangci-lint "
41+ - name : " Install extra Go tools "
4242 run : |
4343 go install github.com/jstemmer/go-junit-report@latest
4444 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
5252 run : |
5353 make test-report
5454
55+ - name : " Test Report (Frontend)"
56+ uses : phoenix-actions/test-reporting@v15
57+ if : success() || failure()
58+ with :
59+ name : Frontend Tests
60+ path : frontend-test-results.xml
61+ reporter : java-junit
62+
63+ - name : " Test Report (Unit Tests)"
64+ uses : phoenix-actions/test-reporting@v15
65+ if : success() || failure()
66+ with :
67+ name : Unit Tests
68+ path : unit-test-results.xml
69+ reporter : java-junit
70+
5571 - name : " Dapr tool installer"
5672 uses : dapr/setup-dapr@v1
5773 with :
7591 path : api-test-results.xml
7692 reporter : java-junit
7793
78- - name : " Test Report (Frontend)"
79- uses : phoenix-actions/test-reporting@v15
80- if : success() || failure()
81- with :
82- name : API Integration Tests
83- path : frontend-test-results.xml
84- reporter : java-junit
85-
86- - name : " Test Report (Unit Tests)"
87- uses : phoenix-actions/test-reporting@v15
88- if : success() || failure()
89- with :
90- name : API Integration Tests
91- path : unit-test-results.xml
92- reporter : java-junit
93-
9494 # ===== Build container images ======
9595 # build-images:
9696 # runs-on: ubuntu-latest
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ test: $(FRONTEND_DIR)/node_modules ## 🎯 Run unit tests for services and snap
3636 @cd $(FRONTEND_DIR ) ; npm run test:unit
3737
3838test-report : $(FRONTEND_DIR ) /node_modules # # 🎯 Run unit tests and generate report
39- go test -v -count=1 ./$(SERVICE_DIR ) /... | go-junit-report -set-exit-code > unit-test-report .xml
39+ go test -v -count=1 ./$(SERVICE_DIR ) /... | go-junit-report -set-exit-code > unit-test-results .xml
4040 @cd $(FRONTEND_DIR ) ; npm run test:unit:report
4141
4242test-api : # # 🧪 Run API integration tests with httpYac
You can’t perform that action at this time.
0 commit comments