Skip to content

Commit 0e8111e

Browse files
authored
fix: run unit test on default branch to upload coverage to Codecov (#1056)
Signed-off-by: Shouren Yang <[email protected]>
1 parent 53d44bb commit 0e8111e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
name: Unit test
8888
needs: [ lint, get_info ] # rely on lint & get_info successful completion
8989
runs-on: ubuntu-22.04
90-
if: needs.get_info.outputs.e2e_run == 'true'
90+
if: needs.get_info.outputs.e2e_run == 'true' || github.ref == 'refs/heads/master'
9191
steps:
9292
- name: Checkout code
9393
uses: actions/checkout@v4

0 commit comments

Comments
 (0)