From 4b074bb9796f1122a09b0d50f525860e3408768a Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Thu, 13 Feb 2025 15:12:43 +0100 Subject: [PATCH] Use the new codecov github action to upload coverage reports Needs https://github.com/solidusio/solidus_dev_support/pull/226 --- .github/workflows/test.yml | 4 ++-- Gemfile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 308f16ef..a37f1b44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - ruby-version: "3.4" rails-version: "7.0" env: - TEST_RESULTS_PATH: coverage/coverage.xml + CODECOV_COVERAGE_PATH: ./coverage/coverage.xml steps: - uses: actions/checkout@v4 - name: Run extension tests @@ -67,4 +67,4 @@ jobs: continue-on-error: true with: token: ${{ secrets.CODECOV_TOKEN }} - files: ${{ env.TEST_RESULTS_PATH }} + files: ${{ env.CODECOV_COVERAGE_PATH }} diff --git a/Gemfile b/Gemfile index 30cfa727..d85b2ef4 100644 --- a/Gemfile +++ b/Gemfile @@ -33,3 +33,5 @@ gemspec # We use `send` instead of calling `eval_gemfile` to work around an issue with # how Dependabot parses projects: https://github.com/dependabot/dependabot-core/issues/1658. send(:eval_gemfile, 'Gemfile-local') if File.exist? 'Gemfile-local' + +gem "solidus_dev_support", github: "tvdeyen/solidus_dev_support", branch: "new-codecov-uploader"