Skip to content

Commit b773789

Browse files
updated: Coverage setup
1 parent a9aa4a9 commit b773789

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,17 @@ jobs:
2525
npm run lint
2626
npm test
2727
- name: Install Playwright Browsers
28-
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '20.x' }}
28+
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
2929
run: npx playwright install --with-deps
3030
- name: Runtime test
31-
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '20.x' }}
31+
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
3232
run: |
3333
npm run build
3434
npm run test-runtime
3535
- name: Generate Coverage
36-
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '20.x' }}
36+
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
3737
run: npm run cov
38-
- name: Coveralls
39-
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '20.x' }}
40-
uses: coverallsapp/github-action@master
38+
- uses: qltysh/qlty-action/coverage@v1
4139
with:
42-
path-to-lcov: ./coverage/lcov.info
43-
github-token: ${{ secrets.GITHUB_TOKEN }}
40+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
41+
files: target/lcov.info

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Compiler logo](https://raw.githubusercontent.com/riot/branding/main/compiler/compiler-horizontal.svg)](https://github.com/riot/compiler/)
22

33
[![Build Status][ci-image]][ci-url]
4-
[![Issue Count][codeclimate-image]][codeclimate-url]
4+
[![Issue Count][qlty-image]][qlty-url]
55
[![Coverage Status][coverage-image]][coverage-url]
66
[![NPM version][npm-version-image]][npm-url]
77
[![NPM downloads][npm-downloads-image]][npm-url]
@@ -117,7 +117,7 @@ in the tag source code for example
117117
[npm-version-image]: https://img.shields.io/npm/v/@riotjs/compiler.svg?style=flat-square
118118
[npm-downloads-image]: https://img.shields.io/npm/dm/@riotjs/compiler.svg?style=flat-square
119119
[npm-url]: https://npmjs.org/package/@riotjs/compiler
120-
[coverage-image]: https://img.shields.io/coveralls/riot/compiler/main.svg?style=flat-square
121-
[coverage-url]: https://coveralls.io/r/riot/compiler?branch=main
122-
[codeclimate-image]: https://api.codeclimate.com/v1/badges/37de24282e8d113bb0cc/maintainability
123-
[codeclimate-url]: https://codeclimate.com/github/riot/compiler
120+
[coverage-image]: https://qlty.sh/gh/riot/projects/compiler/coverage.svg
121+
[coverage-url]: https://qlty.sh/gh/riot/projects/compiler
122+
[qlty-image]: https://qlty.sh/gh/riot/projects/compiler/maintainability.svg
123+
[qlty-url]: https://qlty.sh/gh/riot/projects/compiler

0 commit comments

Comments
 (0)