Skip to content

Commit 9435b47

Browse files
committed
chore: upload codecov reports from integrations too
1 parent 2b98f6f commit 9435b47

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ jobs:
156156
RABBITMQ_DATABASE_URL: amqp://rabbitmq:rabbitmq@localhost:5672/
157157
POSTGRES_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
158158
run: task test-integration
159+
- name: Upload coverage reports
160+
uses: codecov/codecov-action@v4
161+
with:
162+
file: ./coverage.out
163+
flags: unittests
164+
name: codecov-umbrella
165+
token: ${{ secrets.CODECOV_TOKEN }}
159166

160167
build:
161168
name: Build

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tasks:
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 -v --tags=integration ./...
68+
- cmd: go test ./... --tags=integration -coverprofile coverage.out -covermode count
6969

7070
test-load-testing:
7171
aliases: [tl]

0 commit comments

Comments
 (0)