Skip to content

Commit 4d212ec

Browse files
authored
[gha] Run tests on main (#558)
## Summary Currently tests are only run on pull requests (and prior to #556 on non-main branches). We do want to run them on main pushes for 2 reasons: 1. Ensure main is not broken (e.g. in case of a bad merge) 2. Create GHA caches that can be used by all branches (GHA cache looks for cache keys in own branch and also in main) ## How was it tested? Untested
1 parent d21571e commit 4d212ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cli-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
pull_request:
1010
paths-ignore:
1111
- 'docs/**'
12+
push:
13+
branches:
14+
- main
1215
workflow_call:
1316
workflow_dispatch:
1417

0 commit comments

Comments
 (0)