mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-27 21:28:14 +00:00
chore: renderer jest config add collectCoverage
This commit is contained in:
parent
38be3dec83
commit
47874004cf
36
.github/workflows/cov packages.yml
vendored
36
.github/workflows/cov packages.yml
vendored
@ -24,4 +24,40 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
working-directory: packages/designer
|
working-directory: packages/designer
|
||||||
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json
|
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json
|
||||||
|
skip-step: install
|
||||||
|
cov-renderer-core:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
|
||||||
|
- name: install
|
||||||
|
run: npm i && npm run setup:skip-build
|
||||||
|
|
||||||
|
- uses: ArtiomTr/jest-coverage-report-action@v2
|
||||||
|
with:
|
||||||
|
working-directory: packages/renderer-core
|
||||||
|
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json
|
||||||
|
skip-step: install
|
||||||
|
cov-react-simulator-renderer:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
|
||||||
|
- name: install
|
||||||
|
run: npm i && npm run setup:skip-build
|
||||||
|
|
||||||
|
- uses: ArtiomTr/jest-coverage-report-action@v2
|
||||||
|
with:
|
||||||
|
working-directory: packages/react-simulator-renderer
|
||||||
|
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json
|
||||||
skip-step: install
|
skip-step: install
|
||||||
Loading…
x
Reference in New Issue
Block a user