circleci: get submodules on checkout, fix failing tests

This commit is contained in:
Roman Khimov 2019-12-04 20:36:51 +03:00
parent becd4f2333
commit f1e87f497b

View file

@ -54,6 +54,8 @@ jobs:
executor: go1_12 executor: go1_12
steps: steps:
- checkout - checkout
- run: git submodule sync
- run: git submodule update --init
- gomod - gomod
- run: go test -v -race ./... - run: go test -v -race ./...
@ -62,6 +64,8 @@ jobs:
executor: go1_13 executor: go1_13
steps: steps:
- checkout - checkout
- run: git submodule sync
- run: git submodule update --init
- gomod - gomod
- run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic - run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic
- codecov/upload: - codecov/upload: