Skip to content

Commit 99ea3bc

Browse files
committed
Use the new codecov github action to upload coverage reports
Needs solidusio/solidus_dev_support#226
1 parent 3ec1eff commit 99ea3bc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- ruby-version: "3.4"
5353
rails-version: "7.0"
5454
env:
55-
TEST_RESULTS_PATH: coverage/coverage.xml
55+
CODECOV_COVERAGE_PATH: ./coverage/coverage.xml
5656
steps:
5757
- uses: actions/checkout@v4
5858
- name: Run extension tests
@@ -67,4 +67,4 @@ jobs:
6767
continue-on-error: true
6868
with:
6969
token: ${{ secrets.CODECOV_TOKEN }}
70-
files: ${{ env.TEST_RESULTS_PATH }}
70+
files: ${{ env.CODECOV_COVERAGE_PATH }}

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ gemspec
3333
# We use `send` instead of calling `eval_gemfile` to work around an issue with
3434
# how Dependabot parses projects: https://github.com/dependabot/dependabot-core/issues/1658.
3535
send(:eval_gemfile, 'Gemfile-local') if File.exist? 'Gemfile-local'
36+
37+
gem "solidus_dev_support", github: "tvdeyen/solidus_dev_support", branch: "new-codecov-uploader"

0 commit comments

Comments
 (0)