Skip to content

Commit

Permalink
ci: Improves test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed May 20, 2018
1 parent 1969f64 commit 570783e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:[email protected]/ory/keto.git
- run: git push origin HEAD:master
Expand Down

0 comments on commit 570783e

Please sign in to comment.