From 340d66bddf799353ea03e8f2aee00e35908cb91a Mon Sep 17 00:00:00 2001 From: Sonu Saha Date: Fri, 25 Oct 2024 15:07:55 +0530 Subject: [PATCH] ci: fix gh action to upload coverage report Signed-off-by: Sonu Saha --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1508b90..e8ded31 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,8 +32,9 @@ jobs: - name: Run tests run: bundle exec rspec - # - name: Upload coverage report - # uses: actions/upload-artifact@v4 - # with: - # name: coverage-report - # path: coverage/ + - name: Upload coverage report + if: matrix.os == 'ubuntu-latest' && matrix.ruby-version == '3.1' + uses: actions/upload-artifact@v4 + with: + name: coverage-report + path: coverage/