Reorganized test and force 100% code coverage (#1226)
This commit is contained in:
committed by
GitHub
parent
04d082cb49
commit
b4d0dc87d3
12
.github/workflows/nodejs.yml
vendored
12
.github/workflows/nodejs.yml
vendored
@ -32,9 +32,9 @@ jobs:
|
||||
run: |
|
||||
npm run test:unit
|
||||
|
||||
- name: Behavior test
|
||||
- name: Acceptance test
|
||||
run: |
|
||||
npm run test:behavior
|
||||
npm run test:acceptance
|
||||
|
||||
- name: Type Definitions
|
||||
run: |
|
||||
@ -121,9 +121,9 @@ jobs:
|
||||
run: |
|
||||
npm install
|
||||
|
||||
- name: Code coverage
|
||||
- name: Code coverage report
|
||||
run: |
|
||||
npm run test:coverage
|
||||
npm run test:coverage-report
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
@ -131,6 +131,10 @@ jobs:
|
||||
file: ./coverage.lcov
|
||||
fail_ci_if_error: true
|
||||
|
||||
- name: Code coverage 100%
|
||||
run: |
|
||||
npm run test:coverage-100
|
||||
|
||||
license:
|
||||
name: License check
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user