Runinng code coverage only on PR's (#9)

This commit is contained in:
rgsubh 2020-07-01 09:05:30 +05:30 committed by GitHub
parent 41bde4ee53
commit 2a93fee4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ jobs:
run: |
npm run test
- name : 'Run test coverage'
if: runner.os == 'Windows'
if: runner.os == 'Windows' && (github.event.pull_request.base.ref == 'releases/v1' || github.event.pull_request.base.ref == 'master')
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}