Skip to content

Commit c7ebcf3

Browse files
Migrate code climate job to code quality (#157)
* Migrate code climate job to code quality * Migrate code climate job to code quality
1 parent 3610297 commit c7ebcf3

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/validate-branch.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,11 @@ jobs:
115115
if: steps.cache-dependencies.outputs.cache-hit != 'true'
116116
run: npm ci
117117

118-
- uses: paambaati/[email protected]
119-
env:
120-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
118+
- name: Run tests
119+
run: npm run test
120+
121+
- uses: qltysh/qlty-action/coverage@v1
121122
with:
122-
coverageCommand: npm run test
123-
coverageLocations:
124-
./coverage/lcov.info:lcov
123+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
124+
files: ${{ github.workspace }}/coverage/lcov.info
125+
skip-errors: false

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<p align="center">
1111
<a href="https://www.npmjs.com/package/@croct/json-pointer"><img alt="Version" src="https://img.shields.io/npm/v/@croct/json-pointer"/></a>
1212
<a href="https://github.com/croct-tech/json-pointer-js/actions/workflows/validate-branch.yaml"><img alt="Build" src="https://github.com/croct-tech/json-pointer-js/actions/workflows/validate-branch.yaml/badge.svg" /></a>
13-
<a href="https://codeclimate.com/repos/6224bc798bc258016500056f/test_coverage"><img src="https://api.codeclimate.com/v1/badges/692b087d6472a80bb509/test_coverage" /></a>
14-
<a href="https://codeclimate.com/repos/6224bc798bc258016500056f/maintainability"><img src="https://api.codeclimate.com/v1/badges/692b087d6472a80bb509/maintainability" /></a>
15-
<br />
13+
<a href="https://qlty.sh/gh/croct-tech/projects/json-pointer-js"><img src="https://qlty.sh/badges/6bc1a76f-e1e9-446e-96be-def10ef5b973/coverage.svg" alt="Code Coverage" /></a>
14+
<a href="https://qlty.sh/gh/croct-tech/projects/json-pointer-js"><img src="https://qlty.sh/badges/6bc1a76f-e1e9-446e-96be-def10ef5b973/maintainability.svg" alt="Maintainability" /></a>
15+
<br />
1616
<br />
1717
<a href="https://github.com/croct-tech/json-pointer-js/releases">📦Releases</a>
1818
·

0 commit comments

Comments
 (0)