From c82857d7da342eea0ca3f02464443c7a6a7d2b16 Mon Sep 17 00:00:00 2001 From: Jayson Smith Date: Thu, 6 Feb 2020 19:32:29 -0700 Subject: [PATCH] Update env command and add descriptions to others --- .circleci/config.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f811e8..6184651 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,31 +13,38 @@ executors: commands: env: + description: "Setup environment variables" steps: - - run: | - export GOROOT=/usr/local/go - export GOPATH=$HOME/go - export GO111MODULE=on - export PATH=$GOPATH/bin:$GOROOT/bin:$PATH + - run: + command: | + export GOROOT=/usr/local/go + export GOPATH=$HOME/go + export GO111MODULE=on + export PATH=$GOPATH/bin:$GOROOT/bin:$PATH vet: + description: "Run go vet" steps: - run: go vet github.com/cucumber/godog - run: go vet github.com/cucumber/godog/gherkin - run: go vet github.com/cucumber/godog/colors fmt: + description: "Run go fmt" steps: - run: test -z "$(go fmt ./...)" godog: + description: "Run godog" steps: - run: godog -f progress go_test: + description: "Run go test" steps: - run: go test -v -race -coverprofile=coverage.txt -covermode=atomic all: + description: "Run all commands against godog code" steps: - env - vet