Commit a27cd0ce authored by Massimiliano Pippi's avatar Massimiliano Pippi

use task to run tests

parent dc72008f
version: '2'
tasks:
build:
desc: Build the project
cmds:
- go build -v -i
test:
desc: Run the full testsuite
cmds:
- task: test-unit
- task: test-integration
test-unit:
desc: Run unit tests only
cmds:
- go test -short {{ default "-v" .GOFLAGS }} {{ default "./..." .TARGETS }}
test-integration:
desc: Run integration tests only
cmds:
- go test -run Integration {{ default "-v" .GOFLAGS }} {{ default "./..." .TARGETS }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment