From 570783e699cd0cfa487a3ff885fe44a26e15049e Mon Sep 17 00:00:00 2001 From: arekkas Date: Sun, 20 May 2018 17:58:00 +0200 Subject: [PATCH] ci: Improves test commands --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b44ed0780..090f5e9c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,8 +51,8 @@ jobs: - run: go install github.com/ory/keto # Tests - - run: go-acc -o coverage.txt $(glide novendor) - - run: go test -race -short $(glide novendor | grep -v cmd) + - run: go-acc -o coverage.txt ./... + - run: go test -race -short $(go list ./... | grep -v cmd) # Submit coverage details - run: goveralls -service=circle-ci -coverprofile=coverage.txt -repotoken=$COVERALLS_REPO_TOKEN @@ -106,7 +106,7 @@ jobs: - run: git add CHANGELOG.md - run: git add README.md - run: | - git commit -m "docs: Incorporates changes from version $(git describe --tags)" -- CHANGELOG.md + git commit -a -m "docs: Incorporates changes from version $(git describe --tags)" - run: git remote rm origin - run: git remote add origin https://arekkas:$GITHUB_TOKEN@github.com/ory/keto.git - run: git push origin HEAD:master