Skip to content

Commit bd31980

Browse files
authored
Merge pull request #461 from epaew/miscs/ci/code_climate_integration
Update test workflow to send test coverage to Code Climate.
2 parents 4681a33 + dfcff1d commit bd31980

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,17 @@ jobs:
6464
@types/react@${{ matrix.react.react-version }}
6565
- name: Reinstall specific version of @line/liff SDK
6666
run: yarn add -D @line/liff@${{ matrix.liff-sdk.sdk-version }}
67-
- run: yarn run test:coverage
67+
68+
- name: yarn run test && report coverage
69+
uses: paambaati/[email protected]
70+
env:
71+
CC_TEST_REPORTER_ID: de17efec54641dd4eb561f1b0bdede12f7e310f921137eb3465771b63cbbe2f0
72+
with:
73+
coverageCommand: yarn test:ci
74+
coverageLocations: |
75+
${{ github.workspace }}/coverage/lcov.info:lcov
76+
debug: true
77+
6878
- name: Reset local changes
6979
run: git checkout . && yarn
7080

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
- Refactoring: Remove type generics: is overspec.
3131
- [#459](https://github.com/epaew/react-liff/pull/459)
3232
- Refactoring: Move and split src/Context.tsx
33+
- [#461](https://github.com/epaew/react-liff/pull/461)
34+
- Update test workflow to send test coverage to Code Climate.
3335

3436
# 1.6.0
3537

0 commit comments

Comments
 (0)