File: config.yml

package info (click to toggle)
golang-github-joshuarubin-lifecycle 1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 108 kB
  • sloc: makefile: 2
file content (34 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
version: 2.1

orbs:
  codecov: codecov/codecov@1.0.4

executors:
  golang:
    docker:
      - image: circleci/golang:latest

jobs:
  build:
    executor: golang
    steps:
      - checkout
      - restore_cache:
          keys:
            - go-pkg-mod
      - run:
          name: Run Tests
          command: |
            go test -v -cover -race -coverprofile=coverage.txt -covermode=atomic ./...
      - codecov/upload
      - save_cache:
          key: go-pkg-mod
          paths:
            - "/go/pkg/mod"

workflows:
  version: 2
  build-and-test:
    jobs:
      - build