Skip to content

Commit

Permalink
Update coverage_test.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Sultan Iskandar Maulana <nattadasu@nattadasu.my.id>
  • Loading branch information
nattadasu committed May 24, 2023
1 parent 0b65ca4 commit c8729ec
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/coverage_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ jobs:
name: Test and Report Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
- if: github.event_name == 'pull_request'
name: Checkout to Pull Request Branch
uses: actions/checkout@v3
with:
ref: ipy/v5.0.0
ref: ${{ github.head_ref }}
fetch-depth: 0

- if: github.event_name != 'pull_request'
name: Checkout to Push Branch
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 0

- name: Setup Python
Expand Down

0 comments on commit c8729ec

Please sign in to comment.