Skip to content

Commit

Permalink
include basic smoke tests on CI (#5)
Browse files Browse the repository at this point in the history
* add basic integration / smoke test

* test proto.lock file contents
  • Loading branch information
nilslice authored May 11, 2018
1 parent 49f0dba commit ca949fd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ jobs:
working_directory: /go/src/github.com/nilslice/protolock
steps:
- checkout

# specify any bash command here prefixed with `run: `
# fetch depenencies, test code
- run: go get -v -t -d ./...
- run: go test -v ./...
- run: go test -v ./...
# install binary, test commands
- run: go install ./...
- run: protolock
- run: protolock init
- run: cat proto.lock | grep "testdata/test.proto"
- run: protolock status
- run: protolock commit

0 comments on commit ca949fd

Please sign in to comment.