diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | circle.yml | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -4,3 +4,4 @@ report.xml ./gomplate *.cid *.iid +*.out @@ -80,7 +80,7 @@ $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS)): $(PREFIX)/bin/$(PKG_NAME)_$( build: $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS)) test: - $(GO) test -v -race ./... + $(GO) test -v -race -coverprofile=c.out ./... integration: ./bin/gomplate $(GO) test -v -tags=integration \ @@ -9,11 +9,13 @@ jobs: steps: - checkout - run: make build + - run: cc-test-reporter before-build - run: name: make test command: | trap "go-junit-report < $CIRCLE_TEST_REPORTS/go-test.out > $CIRCLE_TEST_REPORTS/report.xml" EXIT make test | tee $CIRCLE_TEST_REPORTS/go-test.out + cc-test-reporter after-build --exit-code $? - run: make lint - run: make integration - store_artifacts: |
