File tree 2 files changed +19
-5
lines changed
2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : " Unit Test"
2
2
3
- on : [push,pull_request]
3
+ on : [ push,pull_request ]
4
4
5
5
jobs :
6
6
unit_test :
10
10
strategy :
11
11
matrix :
12
12
go : [ "1.15", "1.16" ]
13
- os : [ubuntu-latest, windows-latest, macos-latest]
13
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
14
14
15
15
steps :
16
16
- name : Set up Go 1.x
26
26
27
27
- name : Test
28
28
run : make test
29
+
30
+ - uses : codecov/codecov-action@v1
31
+ with :
32
+ flags : unittests
33
+ name : ${{ matrix.go }}-${{ matrix.os }}
34
+ files : ./coverage.txt
Original file line number Diff line number Diff line change 1
- ignore :
2
- - " services/**/generated.go"
3
- - " **/error.go"
1
+ coverage :
2
+ range : " 0...100" # For now, we will allow any coverage
3
+ status :
4
+ project :
5
+ default :
6
+ target : auto
7
+ threshold : 100% # For now, we will allow any rate of test dropdown.
8
+ patch :
9
+ default :
10
+ target : auto
11
+ threshold : 100% # For now, we will allow any rate of test dropdown.
You can’t perform that action at this time.
0 commit comments