Skip to content

Commit fdbbdad

Browse files
committed
ci(workflows): [ci] fix coverage failure check
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent ea4a1b7 commit fdbbdad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ jobs:
344344
&& echo "coverage=$(jq '${{ env.PCT }}' ${{ env.COVERAGE_SUMMARY }} -r)" >>$GITHUB_OUTPUT
345345
- id: pct
346346
name: Print coverage points
347-
run: echo ${{ toJson(steps.test.outputs.coverage) }}
347+
run: echo ${{ steps.test.outputs.coverage }}
348348
- id: report
349349
name: Upload report
350350
uses: actions/[email protected]
@@ -375,7 +375,7 @@ jobs:
375375
verbose: true
376376
working-directory: ${{ github.workspace }}
377377
- id: coverage-failure
378-
if: ${{ toJson(steps.test.outputs.coverage) != 400 }}
378+
if: steps.test.outputs.coverage != '400'
379379
name: Coverage threshold failure (${{ steps.test.outputs.coverage }})
380380
run: yarn test:cov:reports
381381
build:

0 commit comments

Comments
 (0)