File tree Expand file tree Collapse file tree 4 files changed +15
-20
lines changed Expand file tree Collapse file tree 4 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 25
25
- " packaging/**"
26
26
- " version/**"
27
27
28
+ push :
29
+ branches :
30
+ - main
31
+ - dev
32
+ paths-ignore :
33
+ - " e2e-tests/**"
34
+ - " packaging/**"
35
+ - " version/**"
36
+
28
37
jobs :
29
38
test :
30
39
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: 'codecov'
3
3
on :
4
4
push :
5
5
branches :
6
+ - main
7
+ - dev
8
+ pull_request :
9
+ branches :
10
+ - main
6
11
- dev
7
12
8
13
jobs :
Original file line number Diff line number Diff line change 1
1
name : reviewdog
2
2
on : [pull_request]
3
3
jobs :
4
- go-test :
5
- name : runner / go-test
6
- runs-on : ubuntu-latest
7
- steps :
8
- - uses : actions/checkout@v4
9
- - uses : actions/setup-go@v4
10
- with :
11
- go-version : " 1.22"
12
- - name : test
13
- run : go test -v ./... -covermode=atomic -coverprofile=cover.out
14
-
15
- - name : upload coverage report
16
- uses : codecov/codecov-action@v4
17
- with :
18
- file : cover.out
19
- flags : unittests
20
- fail_ci_if_error : false
21
- token : ${{ secrets.CODECOV_TOKEN }}
22
-
23
4
shellcheck :
24
5
name : runner / shellcheck
25
6
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var mClient *mongo.Client
17
17
18
18
func TestMain (m * testing.M ) {
19
19
ctx := context .Background ()
20
- mongodbContainer , err := mongodb .Run (ctx , "perconalab/percona-server-mongodb:7" )
20
+ mongodbContainer , err := mongodb .Run (ctx , "perconalab/percona-server-mongodb:7.0 " )
21
21
if err != nil {
22
22
fmt .Fprintf (os .Stderr , "error while creating mongo test container: %v" , err )
23
23
return
You can’t perform that action at this time.
0 commit comments