Skip to content

Commit 41e9987

Browse files
authored
bump TF to 2.5.0rc3 for api compatibility and benchmark checks (#1413)
1 parent 6c72f4b commit 41e9987

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python: ['3.8']
23-
version: ['tensorflow==2.5.0rc1:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
23+
version: ['tensorflow==2.5.0rc3:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
2424
steps:
2525
- uses: actions/checkout@v2
2626
- uses: actions/setup-python@v1
@@ -61,7 +61,7 @@ jobs:
6161
fail-fast: false
6262
matrix:
6363
python: ['3.8']
64-
version: ['tensorflow==2.5.0rc1:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
64+
version: ['tensorflow==2.5.0rc3:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
6565
steps:
6666
- uses: actions/checkout@v2
6767
- uses: actions/setup-python@v1
@@ -101,7 +101,7 @@ jobs:
101101
fail-fast: false
102102
matrix:
103103
python: ['3.8']
104-
version: ['tensorflow==2.5.0rc1:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
104+
version: ['tensorflow==2.5.0rc3:tensorflow-io-nightly', 'tf-nightly:tensorflow-io', 'tf-nightly:tensorflow-io-nightly']
105105
steps:
106106
- uses: actions/checkout@v2
107107
- uses: actions/setup-python@v1

.github/workflows/benchmarks.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python: ['3.8']
17-
version: ['tensorflow==2.5.0rc1:tensorflow-io-nightly', 'tensorflow==2.5.0rc1:tensorflow-io']
17+
version: ['tensorflow==2.5.0rc3:tensorflow-io-nightly', 'tensorflow==2.5.0rc3:tensorflow-io']
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-python@v1
@@ -31,13 +31,15 @@ jobs:
3131
python --version
3232
df -h
3333
rm -rf tensorflow_io
34+
rm -rf tensorflow_io_plugin_gs
3435
echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U
3536
echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U
3637
if [[ "${{ matrix.version }}" == *"tensorflow-io-nightly"* ]]; then python -m pip install tensorflow-io-plugin-gs-nightly ; fi
3738
python -m pip install -q scikit-image pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==2.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0 azure-storage-blob==12.7.1
3839
python -m pip freeze
3940
python -c 'import tensorflow as tf; print(tf.version.VERSION)'
4041
python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)'
42+
python -c 'from tensorflow_io_plugin_gs.core.python.ops import plugin_gs; print(plugin_gs)'
4143
python -m pytest --benchmark-only -v --import-mode=append $(find . -type f \( -iname "test_*.py" ! \( -iname "test_*_v1.py" -o -iname "test_bigquery.py" \) \))
4244
4345
linux:
@@ -48,7 +50,7 @@ jobs:
4850
fail-fast: false
4951
matrix:
5052
python: ['3.8']
51-
version: ['tensorflow==2.5.0rc1:tensorflow-io-nightly', 'tensorflow==2.5.0rc1:tensorflow-io']
53+
version: ['tensorflow==2.5.0rc3:tensorflow-io-nightly', 'tensorflow==2.5.0rc3:tensorflow-io']
5254
steps:
5355
- uses: actions/checkout@v2
5456
with:
@@ -67,13 +69,15 @@ jobs:
6769
python --version
6870
df -h
6971
rm -rf tensorflow_io
72+
rm -rf tensorflow_io_plugin_gs
7073
echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U
7174
echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U
7275
if [[ "${{ matrix.version }}" == *"tensorflow-io-nightly"* ]]; then python -m pip install tensorflow-io-plugin-gs-nightly ; fi
7376
python -m pip install -q scikit-image pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==2.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0 azure-storage-blob==12.7.1
7477
python -m pip freeze
7578
python -c 'import tensorflow as tf; print(tf.version.VERSION)'
7679
python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)'
80+
python -c 'from tensorflow_io_plugin_gs.core.python.ops import plugin_gs; print(plugin_gs)'
7781
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" \) \))
7882
- name: Store benchmark result
7983
uses: rhysd/github-action-benchmark@v1

0 commit comments

Comments
 (0)