Running code covrage only on PR of master and releases
This commit is contained in:
parent
00c14b274c
commit
0bd0f9e6cc
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
- name : 'Run test coverage'
|
- 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:
|
env:
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue