Skip to content

Commit 3c27730

Browse files
authored
Ignore non-zero exit code for bazel query in windows tests (#3468)
1 parent c981fba commit 3c27730

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test_hosted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Select C++ Tests
7272
shell: bash
7373
run: |
74-
bazel query --keep_going 'kind(cc_test, //...) except rdeps(//..., kind(py_binary, //...))' > cc_targets.txt
74+
bazel query --keep_going 'kind(cc_test, //...) except rdeps(//..., kind(py_binary, //...))' > cc_targets.txt || true
7575
- name: Test
7676
shell: bash
7777
run: |

.github/workflows/test_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Select C++ Tests
3535
shell: bash
3636
run: |
37-
bazel query --keep_going 'kind(cc_test, //...) except rdeps(//..., kind(py_binary, //...))' > cc_targets.txt
37+
bazel query --keep_going 'kind(cc_test, //...) except rdeps(//..., kind(py_binary, //...))' > cc_targets.txt || true
3838
- name: Test
3939
shell: bash
4040
run: |

0 commit comments

Comments
 (0)