Update unitTests.yml

This commit is contained in:
Mohammed Huzaif 2021-10-12 11:46:54 +05:30 committed by GitHub
parent 2107fe68c3
commit 3695084f0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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