diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 4e46efc58c..c298287484 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -290,14 +290,17 @@ jobs: run: chmod +x cc-test-reporter - name: Save coverage + env: + GITHUB_JOB_NAME: ${{ github.job }} run: | - cc-test-reporter format-coverage --output coverage/codeclimate.${{ matrix.ruby }}.json - aws s3 cp ..coverage/codeclimate.${{ matrix.ruby }}.json s3://check-api-travis/codeclimate/coverage/codeclimate.${{ matrix.ruby }}.json + ./test/cc-test-reporter format-coverage -t simplecov --output ../coverage/codeclimate.$GITHUB_JOB_NAME.json ../coverage/.resultset.json + # cc-test-reporter format-coverage --output coverage/codeclimate.${{ matrix.ruby }}.json --debug + aws s3 cp ..coverage/codeclimate.GITHUB_JOB_NAME.json s3://check-api-travis/codeclimate/coverage/codeclimate.GITHUB_JOB_NAME.json - uses: actions/upload-artifact@v1 with: name: coverage-${{ matrix.ruby }} - path: coverage/codeclimate.${{ matrix.ruby }}.json + path: coverage/codeclimate.GITHUB_JOB_NAME.json - uses: actions/download-artifact@v1 with: