diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9244752..17899d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/Makefile b/Makefile index 89bcba1..a9d0a64 100644 --- a/Makefile +++ b/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 .