File tree Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Original file line number Diff line number Diff 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 pyarrow==0.16.0 pandas==0.24.2 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
9+ $entry -m pip install -q pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==0.16.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
1010 (cd tests && $entry -m pytest --benchmark-disable -v --import-mode=append $( find . -type f \( -iname " test_*.py" ! \( -iname " test_*_eager.py" \) \) ) )
1111 (cd tests && $entry -m pytest --benchmark-disable -v --import-mode=append $( find . -type f \( -iname " test_*_eager.py" ! \( -iname " test_bigquery_eager.py" \) \) ) )
1212 # GRPC and test_bigquery_eager tests have to be executed separately because of https://github.com/grpc/grpc/issues/20034
@@ -19,11 +19,6 @@ if [[ "$#" -gt 0 ]]; then
1919 shift
2020fi
2121
22- if [[ " $PYTHON_VERSION " == " python3.8" ]]; then
23- echo " TODO: Python 3.8 test is not supported yet as dependency might not be available"
24- exit 0
25- fi
26-
2722if [[ $( uname) == " Linux" ]]; then
2823 apt-get -y -qq update
2924 if [[ " ${PYTHON_VERSION} " == " python3.7" ]]; then
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ jobs:
179179 runs-on : macos-latest
180180 strategy :
181181 matrix :
182- python : ['3.6', '3.7 ']
182+ python : ['3.8 ']
183183 steps :
184184 - uses : actions/checkout@v2
185185 - uses : docker-practice/actions-setup-docker@v1
@@ -275,13 +275,8 @@ jobs:
275275 runs-on : ${{ matrix.os }}
276276 strategy :
277277 matrix :
278- os : [ubuntu-18.04, ubuntu-20.04]
279- python : ['3.6', '3.7']
280- exclude :
281- - os : ubuntu-20.04
282- python : ' 3.6'
283- - os : ubuntu-20.04
284- python : ' 3.7'
278+ os : [ubuntu-20.04]
279+ python : ['3.8']
285280 steps :
286281 - uses : actions/checkout@v2
287282 - uses : actions/download-artifact@v1
@@ -375,7 +370,7 @@ jobs:
375370 runs-on : windows-latest
376371 strategy :
377372 matrix :
378- python : ['3.6', '3.7 ']
373+ python : ['3.8 ']
379374 steps :
380375 - uses : actions/checkout@v2
381376 - uses : actions/download-artifact@v1
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ python --version
4545python -m pip --version
4646docker --version
4747
48- export PYTHON_VERSION=3.7
48+ export PYTHON_VERSION=3.8
4949
5050export BAZEL_VERSION=$( cat .bazelversion)
5151export BAZEL_OPTIMIZATION=" --copt=-msse4.2 --copt=-mavx --compilation_mode=opt"
@@ -81,7 +81,7 @@ bash -x -e tests/test_sql/sql_test.sh sql
8181bash -x -e tests/test_elasticsearch/elasticsearch_test.sh start
8282
8383docker run -i --rm -v $PWD :/v -w /v --net=host \
84- buildpack-deps:18 .04 bash -x -e .github/workflows/build.wheel.sh python${PYTHON_VERSION}
84+ buildpack-deps:20 .04 bash -x -e .github/workflows/build.wheel.sh python${PYTHON_VERSION}
8585
8686# # In case there are any files generated by docker with root user
8787sudo chown -R $( id -nu) :$( id -ng) .
You can’t perform that action at this time.
0 commit comments