From 7e906c746d5a8bd5d6b019b8f650d08cbe8d2caa Mon Sep 17 00:00:00 2001 From: Lucas Rouckhout Date: Sat, 4 Mar 2023 13:41:53 +0100 Subject: [PATCH] Produce coverage --- .github/workflows/integration_tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_tests.yaml b/.github/workflows/integration_tests.yaml index 51f8806..bff83e3 100644 --- a/.github/workflows/integration_tests.yaml +++ b/.github/workflows/integration_tests.yaml @@ -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 \ No newline at end of file + uses: codecov/codecov-action@v3