File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,13 @@ jobs:
7070 - name : Run tests
7171 run : bundle exec rspec
7272
73+ - name : Sanitize gemfile path
74+ run : echo "SANITIZED_GEMFILE=${{ matrix.gemfile }}" | tr '/' '-' >> $GITHUB_ENV
75+
7376 - name : Upload test coverage folder for later reporting
7477 uses : actions/upload-artifact@v4
7578 with :
76- name : coverage-${{ matrix.os }}-${{ matrix.ruby }}-${{ matrix.gemfile }}
79+ name : coverage-${{ matrix.os }}-${{ matrix.ruby }}-${{ env.SANITIZED_GEMFILE }}
7780 path : coverage-*/*.json
7881 retention-days : 1
7982
@@ -82,17 +85,20 @@ jobs:
8285 runs-on : ubuntu-latest
8386 needs : test
8487 if : success() && github.ref == 'refs/heads/main'
85- env :
86- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
8788 steps :
8889 - uses : actions/checkout@v4
8990
9091 - name : Download coverage reports from the test job
9192 uses : actions/download-artifact@v4
93+ with :
94+ merge-multiple : true
9295
9396 - uses : paambaati/codeclimate-action@v9.0.0
97+ env :
98+ CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
9499 with :
95- coverageLocations : " coverage-*/*.json:simplecov"
100+ coverageLocations : |
101+ ${{github.workspace}}/coverage-*/*.json:simplecov
96102
97103 smoke :
98104 name : Built GEM smoke test
You can’t perform that action at this time.
0 commit comments