ci: Improves test commands
@@ -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
