Skip to content

Commit 9759b03

Browse files
authored
Fix the test (#3469)
1 parent 3c27730 commit 9759b03

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/test_hosted.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ jobs:
6464
startup --windows_enable_symlinks
6565
- uses: actions/setup-python@v6
6666
with:
67-
python-version: '3.10'
68-
- name: Install dependencies
69-
run: |
70-
pip install Pillow numpy
67+
python-version: '3.13'
7168
- name: Select C++ Tests
7269
shell: bash
7370
run: |
74-
bazel query --keep_going 'kind(cc_test, //...) except rdeps(//..., kind(py_binary, //...))' > cc_targets.txt || true
71+
bazel query --keep_going '
72+
let scope = //tensorflow/lite/micro/... in
73+
let candidates = kind(cc_test, $scope) in
74+
$candidates except rdeps($candidates, kind(py_binary, deps($candidates)))
75+
' > cc_targets.txt || true
7576
- name: Test
7677
shell: bash
7778
run: |

.github/workflows/test_windows.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ jobs:
2727
startup --windows_enable_symlinks
2828
- uses: actions/setup-python@v6
2929
with:
30-
python-version: '3.10'
31-
- name: Install dependencies
32-
run: |
33-
pip install Pillow numpy
30+
python-version: '3.13'
3431
- name: Select C++ Tests
3532
shell: bash
3633
run: |
37-
bazel query --keep_going 'kind(cc_test, //...) except rdeps(//..., kind(py_binary, //...))' > cc_targets.txt || true
34+
bazel query --keep_going '
35+
let scope = //tensorflow/lite/micro/... in
36+
let candidates = kind(cc_test, $scope) in
37+
$candidates except rdeps($candidates, kind(py_binary, deps($candidates)))
38+
' > cc_targets.txt || true
3839
- name: Test
3940
shell: bash
4041
run: |

0 commit comments

Comments
 (0)