mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-22 22:06:49 +00:00
Runinng code coverage only on PR's
This commit is contained in:
parent
41bde4ee53
commit
363908ae48
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user