Skip to content

Commit f054bd3

Browse files
committed
💚 Upload coverage to qlty
1 parent 95cb0d7 commit f054bd3

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/coverage.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ jobs:
6666
bundler: "${{ matrix.bundler }}"
6767
bundler-cache: false
6868

69-
- name: CodeClimate Pre-build Notification
70-
run: cc-test-reporter before-build
71-
if: ${{ github.event_name != 'pull_request' }}
72-
continue-on-error: ${{ matrix.experimental != 'false' }}
73-
7469
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
7570
# We need to do this first to get appraisal installed.
7671
# NOTE: This does not use the main Gemfile at all.
@@ -81,11 +76,6 @@ jobs:
8176
- name: Tests for ${{ matrix.ruby }}@current via ${{ matrix.exec_cmd }}
8277
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
8378

84-
- name: CodeClimate Post-build Notification
85-
run: cc-test-reporter after-build
86-
if: ${{ github.event_name != 'pull_request' }}
87-
continue-on-error: ${{ matrix.experimental != 'false' }}
88-
8979
- name: Code Coverage Summary Report
9080
uses: irongut/[email protected]
9181
if: ${{ github.event_name == 'pull_request' }}
@@ -98,7 +88,7 @@ jobs:
9888
hide_complexity: true
9989
indicators: true
10090
output: both
101-
thresholds: '69 80'
91+
thresholds: '100 100'
10292
continue-on-error: ${{ matrix.experimental != 'false' }}
10393

10494
- name: Add Coverage PR Comment
@@ -109,13 +99,22 @@ jobs:
10999
path: code-coverage-results.md
110100
continue-on-error: ${{ matrix.experimental != 'false' }}
111101

112-
- name: Coveralls
102+
- name: Upload coverage to Coveralls
113103
uses: coverallsapp/github-action@master
114104
with:
115105
github-token: ${{ secrets.GITHUB_TOKEN }}
116106
continue-on-error: ${{ matrix.experimental != 'false' }}
117107

118-
- name: Upload results to Codecov
108+
- name: Upload coverage to QLTY
109+
uses: qltysh/qlty-action/coverage@main
110+
with:
111+
coverage-token: ${{secrets.QLTY_COVERAGE_TOKEN}}
112+
files: coverage/.resultset.json
113+
continue-on-error: ${{ matrix.experimental != 'false' }}
114+
115+
- name: Upload coverage to CodeCov
119116
uses: codecov/codecov-action@v5
120117
with:
118+
fail_ci_if_error: true # optional (default = false)
121119
token: ${{ secrets.CODECOV_TOKEN }}
120+
verbose: true # optional (default = false)

0 commit comments

Comments
 (0)