mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
Update unitTests.yml
This commit is contained in:
parent
2107fe68c3
commit
3695084f0c
1 changed files with 3 additions and 20 deletions
23
.github/workflows/unitTests.yml
vendored
23
.github/workflows/unitTests.yml
vendored
|
|
@ -24,23 +24,6 @@ jobs:
|
|||
- run: npm install request
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
|
||||
|
||||
coverage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run unit tests with coverage
|
||||
run: npm test -v -race -coverprofile=coverage.txt
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
file: coverage.txt
|
||||
flags: UnitTests
|
||||
verbose: true
|
||||
fail_ci_if_error: false
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue