File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,13 @@ jobs:
70
70
- name : Run tests
71
71
run : bundle exec rspec
72
72
73
+ - name : Sanitize gemfile path
74
+ run : echo "SANITIZED_GEMFILE=${{ matrix.gemfile }}" | tr '/' '-' >> $GITHUB_ENV
75
+
73
76
- name : Upload test coverage folder for later reporting
74
77
uses : actions/upload-artifact@v4
75
78
with :
76
- name : coverage-${{ matrix.os }}-${{ matrix.ruby }}-${{ matrix.gemfile }}
79
+ name : coverage-${{ matrix.os }}-${{ matrix.ruby }}-${{ env.SANITIZED_GEMFILE }}
77
80
path : coverage-*/*.json
78
81
retention-days : 1
79
82
@@ -82,17 +85,20 @@ jobs:
82
85
runs-on : ubuntu-latest
83
86
needs : test
84
87
if : success() && github.ref == 'refs/heads/main'
85
- env :
86
- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
87
88
steps :
88
89
- uses : actions/checkout@v4
89
90
90
91
- name : Download coverage reports from the test job
91
92
uses : actions/download-artifact@v4
93
+ with :
94
+ merge-multiple : true
92
95
93
96
-
uses :
paambaati/[email protected]
97
+ env :
98
+ CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
94
99
with :
95
- coverageLocations : " coverage-*/*.json:simplecov"
100
+ coverageLocations : |
101
+ ${{github.workspace}}/coverage-*/*.json:simplecov
96
102
97
103
smoke :
98
104
name : Built GEM smoke test
You can’t perform that action at this time.
0 commit comments