ci: remove JUnit report
It serves no purpose for me. It only causes issues.
This commit is contained in:
parent
19b599e341
commit
4c38bfb828
2 changed files with 0 additions and 21 deletions
|
@ -6,22 +6,6 @@ stages:
|
|||
variables:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
test:junit:
|
||||
artifacts:
|
||||
expire_in: 1 hour
|
||||
reports:
|
||||
junit:
|
||||
report.xml
|
||||
before_script:
|
||||
- apk add --no-cache make
|
||||
- go get -u github.com/jstemmer/go-junit-report
|
||||
except:
|
||||
- master
|
||||
image: golang:1.13.6-alpine
|
||||
script:
|
||||
- make test_junit_report
|
||||
stage: test
|
||||
|
||||
test:unit:
|
||||
artifacts:
|
||||
expire_in: 30 minutes
|
||||
|
@ -30,8 +14,6 @@ test:unit:
|
|||
before_script:
|
||||
- apk add --no-cache make
|
||||
image: golang:1.13.6-alpine
|
||||
only:
|
||||
- master@dananglin/Pominal
|
||||
script:
|
||||
- make test_cover_report
|
||||
stage: test
|
||||
|
|
3
Makefile
3
Makefile
|
@ -6,9 +6,6 @@ BIN_FILE := $(BIN_DIR)/$(NAME)
|
|||
|
||||
all: test_unit build
|
||||
|
||||
test_junit_report:
|
||||
@go test -v . 2>&1 | go-junit-report > report.xml
|
||||
|
||||
test_unit:
|
||||
@go test -v -coverprofile=cover.out .
|
||||
|
||||
|
|
Loading…
Reference in a new issue