Skip to content

Commit

Permalink
Merge pull request #140 from kitsuyui/fix-ci-send-coverage
Browse files Browse the repository at this point in the history
Fix: CI send coverage condition
  • Loading branch information
kitsuyui authored Jan 20, 2024
2 parents 0d0310a + 26696c1 commit aa677b4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: Test
on:
- pull_request

# pull-request events are not triggered when a PR is merged
# push events are not triggered when a PR created from a fork repository
# So we need both to run tests on every PR and after merging
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit aa677b4

Please sign in to comment.