chore: add testing step to ci

This commit is contained in:
Oleg Lobanov 2020-07-24 20:12:21 +02:00
parent cb8ac5ebf1
commit c2d8038c63
No known key found for this signature in database
GPG Key ID: 7CC64E41212621B0
1 changed files with 13 additions and 0 deletions

View File

@ -21,6 +21,14 @@ jobs:
root: .
paths:
- '*'
test:
docker:
- image: circleci/golang:1.14.3
steps:
- checkout
- run:
name: "Test"
command: go test ./...
build-go:
docker:
- image: circleci/golang:1.14.3
@ -57,6 +65,10 @@ workflows:
filters:
tags:
only: /.*/
- test:
filters:
tags:
only: /.*/
- build-node:
filters:
tags:
@ -68,6 +80,7 @@ workflows:
requires:
- build-node
- lint
- test
- release:
context: deploy
requires: