GeezerVison is showing github.com — chore: renderer jest config add collectCoverage · zyy7259/lowcode-engine@4787400
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/cov packages.yml +36Lines changed: 36 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
24 | 24 | with: |
25 | 25 | working-directory: packages/designer |
26 | 26 | test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json |
| 27 | + skip-step: install |
| 28 | + cov-renderer-core: |
| 29 | + runs-on: ubuntu-latest |
| 30 | + steps: |
| 31 | + - name: checkout |
| 32 | + uses: actions/checkout@v2 |
| 33 | + |
| 34 | + - uses: actions/setup-node@v2 |
| 35 | + with: |
| 36 | + node-version: '14' |
| 37 | + |
| 38 | + - name: install |
| 39 | + run: npm i && npm run setup:skip-build |
| 40 | + |
| 41 | + - uses: ArtiomTr/jest-coverage-report-action@v2 |
| 42 | + with: |
| 43 | + working-directory: packages/renderer-core |
| 44 | + test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json |
| 45 | + skip-step: install |
| 46 | + cov-react-simulator-renderer: |
| 47 | + runs-on: ubuntu-latest |
| 48 | + steps: |
| 49 | + - name: checkout |
| 50 | + uses: actions/checkout@v2 |
| 51 | + |
| 52 | + - uses: actions/setup-node@v2 |
| 53 | + with: |
| 54 | + node-version: '14' |
| 55 | + |
| 56 | + - name: install |
| 57 | + run: npm i && npm run setup:skip-build |
| 58 | + |
| 59 | + - uses: ArtiomTr/jest-coverage-report-action@v2 |
| 60 | + with: |
| 61 | + working-directory: packages/react-simulator-renderer |
| 62 | + test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json |
27 | 63 | skip-step: install |