File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1818
1919 - name : Runing tests for coverage
2020 run : |
21- go test -race -coverprofile=coverage.out -covermode=atomic `go list ./... | grep -v vendor/`
21+ go test -race -coverprofile=coverage.out -covermode=atomic `go list ./... | grep -v vendor/` -v
2222
2323 - name : Uploading coverage to Codecov
2424 uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
3232 assert := assert .New (t )
3333
3434 tibiaCharactersCharacterV3 (c )
35+ // writing to log for debugging
36+ t .Log (w )
3537 assert .Equal (http .StatusOK , w .Code )
3638
3739 w = httptest .NewRecorder ()
@@ -51,6 +53,8 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
5153 }
5254
5355 tibiaCreaturesCreatureV3 (c )
56+ // writing to log for debugging
57+ t .Log (w )
5458 assert .Equal (http .StatusOK , w .Code )
5559
5660 w = httptest .NewRecorder ()
@@ -70,6 +74,8 @@ func TestFakeToUpCodeCoverage(t *testing.T) {
7074 }
7175
7276 tibiaGuildsGuildV3 (c )
77+ // writing to log for debugging
78+ t .Log (w )
7379 assert .Equal (http .StatusOK , w .Code )
7480
7581 w = httptest .NewRecorder ()
You can’t perform that action at this time.
0 commit comments