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:
179179 name : Test plugin mode
180180 if : ${{ matrix.mode == 'plugin' }}
181181 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+
183187 -
184188 name : Test standalone mode
185189 if : ${{ matrix.mode == 'standalone' }}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ ifeq ($(OS),Windows_NT)
2323else
2424 DETECTED_OS = $(shell uname -s)
2525endif
26+
2627ifeq ($(DETECTED_OS ) ,Linux)
2728 MOBY_DOCKER=/usr/bin/docker
2829endif
@@ -71,10 +72,7 @@ install: binary
7172
7273.PHONY : e2e-compose
7374e2e-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
7876
7977.PHONY : e2e-compose-standalone
8078e2e-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