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

View File

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