Skip to content

Commit 23cdc75

Browse files
committed
chore: replace codeclimate with qlty
1 parent 7e8dff2 commit 23cdc75

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,12 @@ jobs:
4848
ruby-version: ${{ matrix.ruby }}
4949
bundler-cache: true
5050

51-
- name: Setup Code Climate test-reporter
52-
run: |
53-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
54-
chmod +x ./cc-test-reporter
55-
./cc-test-reporter before-build
56-
5751
- name: Ruby Tests
5852
run: bin/rake test
5953

60-
- name: Upload code coverage to Code Climate
54+
- name: Upload coverage to Qlty
6155
if: ${{ contains(github.ref, 'main') }}
62-
run: |
63-
export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
64-
./cc-test-reporter after-build -r ${{secrets.CC_TEST_REPORTER_ID}}
56+
uses: qltysh/qlty-action/coverage@main
57+
with:
58+
token: ${{secrets.QLTY_COVERAGE_TOKEN}}
59+
files: coverage/.resultset.json

0 commit comments

Comments
 (0)