Skip to content

Commit 409d46d

Browse files
committed
update CI script
1 parent 1ee4457 commit 409d46d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
rm -rf tensorflow_io
4242
echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U
4343
echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U
44-
python -m pip install pytest-benchmark boto3 google-cloud-storage==1.32.0
44+
python -m pip install pytest-benchmark boto3 google-cloud-storage==1.32.0 azure-storage-blob==12.7.1
4545
python -m pip freeze
4646
python -c 'import tensorflow as tf; print(tf.version.VERSION)'
4747
python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)'
@@ -78,7 +78,7 @@ jobs:
7878
rm -rf tensorflow_io
7979
echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U
8080
echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U
81-
python -m pip install pytest-benchmark boto3 google-cloud-storage==1.32.0
81+
python -m pip install pytest-benchmark boto3 google-cloud-storage==1.32.0 azure-storage-blob==12.7.1
8282
python -m pip freeze
8383
python -c 'import tensorflow as tf; print(tf.version.VERSION)'
8484
python -c 'import tensorflow_io as tfio; print(tfio.version.VERSION)'

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
rm -rf tensorflow_io
3333
echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U
3434
echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U
35-
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
35+
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
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)'
@@ -66,7 +66,7 @@ jobs:
6666
rm -rf tensorflow_io
6767
echo ${{ matrix.version }} | awk -F: '{print $1}' | xargs python -m pip install -U
6868
echo ${{ matrix.version }} | awk -F: '{print $2}' | xargs python -m pip install --no-deps -U
69-
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
69+
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
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)'

.github/workflows/build.wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ run_test() {
66
entry=$1
77
CPYTHON_VERSION=$($entry -c 'import sys; print(str(sys.version_info[0])+str(sys.version_info[1]))')
88
(cd wheelhouse && $entry -m pip install tensorflow_io-*-cp${CPYTHON_VERSION}-*.whl)
9-
$entry -m pip install -q pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==3.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigtable==1.6.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0
9+
$entry -m pip install -q pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==3.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigtable==1.6.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
1010
(cd tests && $entry -m pytest --benchmark-disable -v --import-mode=append $(find . -type f \( -iname "test_*_v1.py" \)))
1111
(cd tests && $entry -m pytest --benchmark-disable -v --import-mode=append $(find . -type f \( -iname "test_*.py" ! \( -iname "test_*_v1.py" -o -iname "test_bigquery.py" \) \)))
1212
# GRPC and test_bigquery tests have to be executed separately because of https://github.com/grpc/grpc/issues/20034

0 commit comments

Comments
 (0)