Produce coverage

This commit is contained in:
Lucas Rouckhout
2023-03-04 13:41:53 +01:00
parent 6155591753
commit 7e906c746d

View File

@@ -41,8 +41,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: go test -p 1 -v -cover -coverpkg=./... ./...
run: go test -p 1 -v -covermode=atomic -coverprofile=coverage.out -cover -coverpkg=./... ./...
env:
RABBITMQ_URI: amqp://root:password@localhost:5672
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3