File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 7373 - name : Upload coverage reports
7474 uses : codecov/codecov-action@v4
7575 with :
76- file : ./coverage .out
77- flags : unittests
78- name : codecov-umbrella
76+ file : ./unit_coverage .out
77+ flags : unit-tests
78+ name : codecov-units
7979 token : ${{ secrets.CODECOV_TOKEN }}
8080
8181 integration-tests :
@@ -159,9 +159,9 @@ jobs:
159159 - name : Upload coverage reports
160160 uses : codecov/codecov-action@v4
161161 with :
162- file : ./coverage .out
163- flags : unittests
164- name : codecov-umbrella
162+ file : ./integration_coverage .out
163+ flags : integration-tests
164+ name : codecov-integrations
165165 token : ${{ secrets.CODECOV_TOKEN }}
166166
167167 build :
Original file line number Diff line number Diff line change 4040 env :
4141 WH_DEBUG : ' true'
4242 cmds :
43- - cmd : go test ./... --tags=unit -coverprofile coverage .out -covermode count
44- - cmd : go tool cover -func coverage .out
43+ - cmd : go test ./... --tags=unit -coverprofile unit_coverage .out -covermode count
44+ - cmd : go tool cover -func unit_coverage .out
4545
4646 run-integration :
4747 aliases : [ri]
6565 cmds :
6666 - cmd : ./bin/webhooked -p 8081 --config ./tests/integrations/webhooked_config.integrations.yaml &
6767 - defer : kill -9 $(pgrep -f "./bin/webhooked") || true
68- - cmd : go test ./... --tags=integration -coverprofile coverage.out -covermode count
68+ - cmd : go test ./... --tags=integration -coverprofile integration_coverage.out -covermode count
69+ - cmd : go tool cover -func integration_coverage.out
6970
7071 test-load-testing :
7172 aliases : [tl]
You can’t perform that action at this time.
0 commit comments