We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50c348 commit b3dfa21Copy full SHA for b3dfa21
.circleci/config.yml
@@ -0,0 +1,26 @@
1
+# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
2
+version: 2.1
3
+jobs:
4
+ build:
5
+ working_directory: ~/repo
6
+ docker:
7
+ - image: circleci/golang:1.15.8
8
+ steps:
9
+ - checkout
10
+ - restore_cache:
11
+ keys:
12
+ - go-mod-v4-{{ checksum "go.sum" }}
13
+ - run:
14
+ name: Install Dependencies
15
+ command: go mod download
16
+ - save_cache:
17
+ key: go-mod-v4-{{ checksum "go.sum" }}
18
+ paths:
19
+ - "/go/pkg/mod"
20
21
+ name: Run tests
22
+ command: |
23
+ mkdir -p /tmp/test-reports
24
+ gotestsum --junitfile /tmp/test-reports/unit-tests.xml
25
+ - store_test_results:
26
+ path: /tmp/test-reports
0 commit comments