mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-04-01 06:03:28 +03:00
javascript test coverage
This commit is contained in:
parent
9ee4cb13f6
commit
f0e3940868
2 changed files with 3 additions and 3 deletions
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Run the tests
|
- name: Run the tests
|
||||||
run: yarn test -- --coverage
|
run: yarn test
|
||||||
|
|
||||||
- name: Install ${{ matrix.version }}
|
- name: Install ${{ matrix.version }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
@ -109,7 +109,7 @@ jobs:
|
||||||
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
file: cobertura.xml
|
files: cobertura.xml, ./coverage/clover.xml
|
||||||
|
|
||||||
- name: generate documentation
|
- name: generate documentation
|
||||||
if: matrix.version == 'stable' && (github.repository == 'mCaptcha/guard')
|
if: matrix.version == 'stable' && (github.repository == 'mCaptcha/guard')
|
||||||
|
|
|
@ -17,7 +17,7 @@ export default {
|
||||||
clearMocks: true,
|
clearMocks: true,
|
||||||
|
|
||||||
// Indicates whether the coverage information should be collected while executing the test
|
// Indicates whether the coverage information should be collected while executing the test
|
||||||
// collectCoverage: false,
|
collectCoverage: true,
|
||||||
|
|
||||||
// An array of glob patterns indicating a set of files for which coverage information should be collected
|
// An array of glob patterns indicating a set of files for which coverage information should be collected
|
||||||
// collectCoverageFrom: undefined,
|
// collectCoverageFrom: undefined,
|
||||||
|
|
Loading…
Add table
Reference in a new issue