File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,11 @@ jobs:
179
179
name : Test plugin mode
180
180
if : ${{ matrix.mode == 'plugin' }}
181
181
run : |
182
- make e2e-compose
182
+ rm -rf ./covdatafiles
183
+ mkdir ./covdatafiles
184
+ make e2e-compose GOCOVERDIR=covdatafiles
185
+ go tool covdata textfmt -i=covdatafiles -o=coverage.out
186
+
183
187
-
184
188
name : Test standalone mode
185
189
if : ${{ matrix.mode == 'standalone' }}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ ifeq ($(OS),Windows_NT)
23
23
else
24
24
DETECTED_OS = $(shell uname -s)
25
25
endif
26
+
26
27
ifeq ($(DETECTED_OS ) ,Linux)
27
28
MOBY_DOCKER=/usr/bin/docker
28
29
endif
@@ -71,10 +72,7 @@ install: binary
71
72
72
73
.PHONY : e2e-compose
73
74
e2e-compose : # # Run end to end local tests in plugin mode. Set E2E_TEST=TestName to run a single test
74
- rm -rf covdatafiles
75
- mkdir covdatafiles
76
- GOCOVERDIR=covdatafiles go test $(TEST_FLAGS ) -count=1 ./pkg/e2e
77
- go tool covdata textfmt -i=covdatafiles -o=coverage.out
75
+ go test $(TEST_FLAGS ) -count=1 ./pkg/e2e
78
76
79
77
.PHONY : e2e-compose-standalone
80
78
e2e-compose-standalone : # # Run End to end local tests in standalone mode. Set E2E_TEST=TestName to run a single test
You can’t perform that action at this time.
0 commit comments