File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ name: Keras Tests
66on :
77 push :
88 branches : [ master ]
9+ pull_request :
10+ types : [labeled]
911 pull_request_review :
1012 types : [submitted]
1113 release :
@@ -19,10 +21,11 @@ jobs:
1921 test-in-container :
2022 name : Run tests on TPU
2123 runs-on : linux-x86-ct6e-44-1tpu
22- # Only run on approved PRs, pushes to master, or releases
24+ # Only run on approved PRs, pushes to master, releases or "run_tpu_tests" labels
2325 if : |
2426 github.event_name == 'push' ||
2527 github.event_name == 'release' ||
28+ (github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'run_tpu_tests') ||
2629 (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
2730
2831 strategy :
You can’t perform that action at this time.
0 commit comments