Skip to content

Commit 4103a58

Browse files
authored
Fix wrong benchmark tests names (#1301)
Fixes wrong benchmark tests names caused by last commit Signed-off-by: Yong Tang <[email protected]>
1 parent 448599d commit 4103a58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
python -m pip freeze
3737
python -c 'import tensorflow as tf; print(tf.version.VERSION)'
3838
python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)'
39-
python -m pytest --benchmark-only -v --import-mode=append $(find . -type f \( -iname "test_*_v1.py" ! \( -iname "test_bigquery.py" \) \))
39+
python -m pytest --benchmark-only -v --import-mode=append $(find . -type f \( -iname "test_*.py" ! \( -iname "test_*_v1.py" -o -iname "test_bigquery.py" \) \))
4040
4141
linux:
4242
name: Linux ${{ matrix.python }} + ${{ matrix.version }}
@@ -70,7 +70,7 @@ jobs:
7070
python -m pip freeze
7171
python -c 'import tensorflow as tf; print(tf.version.VERSION)'
7272
python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)'
73-
python -m pytest --benchmark-only --benchmark-json benchmark.json -v --import-mode=append $(find . -type f \( -iname "test_*_v1.py" ! \( -iname "test_bigquery.py" \) \))
73+
python -m pytest --benchmark-only --benchmark-json benchmark.json -v --import-mode=append $(find . -type f \( -iname "test_*.py" ! \( -iname "test_*_v1.py" -o -iname "test_bigquery.py" \) \))
7474
- name: Store benchmark result
7575
uses: rhysd/github-action-benchmark@v1
7676
with:

0 commit comments

Comments
 (0)