File tree 1 file changed +6
-12
lines changed 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
- # Use the latest 2.1 version of CircleCI pipeline process engine.
2
- # See: https://circleci.com/docs/configuration-reference
3
1
version : 2.1
4
2
orbs :
5
3
codecov : codecov/codecov@3.2.5
6
- # Define a job to be invoked later in a workflow.
7
- # See: https://circleci.com/docs/configuration-reference/#jobs
8
4
jobs :
9
5
build :
10
- working_directory : ~/repo
6
+ working_directory : ~/browser
11
7
docker :
12
- - image : circleci/golang :1.19
8
+ - image : cimg/go :1.19.13
13
9
steps :
14
10
- checkout
15
11
- restore_cache :
@@ -29,13 +25,11 @@ jobs:
29
25
- run :
30
26
name : Run tests
31
27
command : |
32
- go test -coverprofile=c.out
33
- go tool cover -html= c.out -o coverage.html
34
- mv coverage.html /tmp/artifacts
35
- - codecov/upload
28
+ go test ./... -coverprofile=c.out
29
+ mv c.out /tmp/artifacts
30
+ - codecov/upload :
31
+ file : /tmp/artifacts/c.out
36
32
37
- # Invoke jobs via workflows
38
- # See: https://circleci.com/docs/configuration-reference/#workflows
39
33
workflow :
40
34
version : 2.1
41
35
build-test :
You can’t perform that action at this time.
0 commit comments