Skip to content

Commit 9eb8f95

Browse files
committed
fix: Alter codeclimate action with qlty
1 parent aa5520c commit 9eb8f95

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/unit_test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
- feature/unit_test
8+
- fix/cc_action
89
paths-ignore:
910
- 'README.md'
1011
- 'README_zh.md'
@@ -35,9 +36,10 @@ jobs:
3536
uses: codecov/codecov-action@v4
3637
with:
3738
token: ${{ secrets.CODECOV_TOKEN }}
38-
- name: Upload results to Code Climate
39-
uses: paambaati/[email protected]
40-
env:
41-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
39+
- name: Export coverage data as LCOV
40+
run: coverage lcov -o coverage.lcov
41+
- name: Upload coverage data to Qlty Cloud
42+
uses: qltysh/qlty-action/coverage@v1
4243
with:
43-
coverageCommand: coverage xml
44+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
45+
files: "coverage.lcov"

0 commit comments

Comments
 (0)