circle: test debug build

This commit is contained in:
Łukasz Magiera 2020-03-09 07:56:11 +01:00
parent 1647798396
commit 72bf00bf00

View File

@ -107,6 +107,18 @@ jobs:
paths: paths:
- linux - linux
build-debug:
executor: golang
steps:
- install-deps
- prepare
- go/mod-download
- restore_cache:
name: restore go mod cache
key: v1-go-deps-{{ arch }}-{{ checksum "/home/circleci/project/go.mod" }}
- run:
command: make debug
test: &test test: &test
description: | description: |
Run tests with gotestsum. Run tests with gotestsum.
@ -242,6 +254,15 @@ jobs:
- "~/.rustup" - "~/.rustup"
- "~/.cargo" - "~/.cargo"
gofmt:
executor: golang
steps:
- install-deps
- prepare
- go/mod-download
- run:
command: "! go fmt ./... 2>&1 | read"
lint: &lint lint: &lint
description: | description: |
Run golangci-lint. Run golangci-lint.
@ -315,12 +336,14 @@ workflows:
- test: - test:
codecov-upload: true codecov-upload: true
- mod-tidy-check - mod-tidy-check
- gofmt
- test-short: - test-short:
go-test-flags: "--timeout 10m --short" go-test-flags: "--timeout 10m --short"
filters: filters:
tags: tags:
only: only:
- /^v\d+\.\d+\.\d+$/ - /^v\d+\.\d+\.\d+$/
- build-debug
- build-all: - build-all:
requires: requires:
- test-short - test-short