diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 24cb1f3..3d836fb 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -66,11 +66,6 @@ jobs: bundler: "${{ matrix.bundler }}" bundler-cache: false - - name: CodeClimate Pre-build Notification - run: cc-test-reporter before-build - if: ${{ github.event_name != 'pull_request' }} - continue-on-error: ${{ matrix.experimental != 'false' }} - # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root) # We need to do this first to get appraisal installed. # NOTE: This does not use the main Gemfile at all. @@ -81,11 +76,6 @@ jobs: - name: Tests for ${{ matrix.ruby }}@current via ${{ matrix.exec_cmd }} run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }} - - name: CodeClimate Post-build Notification - run: cc-test-reporter after-build - if: ${{ github.event_name != 'pull_request' }} - continue-on-error: ${{ matrix.experimental != 'false' }} - - name: Code Coverage Summary Report uses: irongut/CodeCoverageSummary@v1.3.0 if: ${{ github.event_name == 'pull_request' }} @@ -98,7 +88,7 @@ jobs: hide_complexity: true indicators: true output: both - thresholds: '69 80' + thresholds: '100 100' continue-on-error: ${{ matrix.experimental != 'false' }} - name: Add Coverage PR Comment @@ -109,13 +99,22 @@ jobs: path: code-coverage-results.md continue-on-error: ${{ matrix.experimental != 'false' }} - - name: Coveralls + - name: Upload coverage to Coveralls uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} continue-on-error: ${{ matrix.experimental != 'false' }} - - name: Upload results to Codecov + - name: Upload coverage to QLTY + uses: qltysh/qlty-action/coverage@main + with: + coverage-token: ${{secrets.QLTY_COVERAGE_TOKEN}} + files: coverage/.resultset.json + continue-on-error: ${{ matrix.experimental != 'false' }} + + - name: Upload coverage to CodeCov uses: codecov/codecov-action@v5 with: + fail_ci_if_error: true # optional (default = false) token: ${{ secrets.CODECOV_TOKEN }} + verbose: true # optional (default = false)