Skip to content

Commit 7a7ddcf

Browse files
authored
Merge pull request #1 from davehenton/dh-add-qlty-coverage
upload coverage report to Qlty
2 parents bf71a3d + 079b527 commit 7a7ddcf

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/unit-test.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,23 @@ jobs:
2929
with:
3030
hide-comment: false
3131
coverage-summary-path: ./coverage/coverage-summary.json
32-
test-code-climate:
33-
name: Upload unit test results to Code Climate
32+
33+
run-tests-and-publish-coverage:
34+
name: Upload unit test results to qlty
3435
runs-on: ubuntu-latest
35-
36+
3637
steps:
3738
- uses: actions/checkout@v3
38-
39+
3940
- name: Setup
4041
uses: ./.github/actions/setup
41-
42+
4243
- name: Run tests
4344
run: |
4445
yarn test --coverage --coverageReporters lcov
45-
46-
- name: Upload coverage to Code Climate
47-
uses: paambaati/codeclimate-action@v9.0.0
48-
env:
49-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
46+
47+
- name: Upload coverage to qlty
48+
uses: qltysh/qlty-action/coverage@v1
5049
with:
51-
coverageCommand: yarn test --coverage --coverageReporters lcov
52-
coverageLocations: |
53-
${{github.workspace}}/coverage/lcov.info:lcov
50+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
51+
files: coverage/lcov.info

0 commit comments

Comments
 (0)