From ba2b4ea70c2235b46058a843c98ef73239790b58 Mon Sep 17 00:00:00 2001 From: Proton Date: Mon, 22 Aug 2022 16:38:02 +0800 Subject: [PATCH] [ci] Add more release tests --- .github/workflows/scripts/unix_test.sh | 23 +++++++++++++++++++---- .github/workflows/scripts/win_test.ps1 | 16 ++++++++++++---- .github/workflows/testing.yml | 20 ++++++++++++++++++-- 3 files changed, 49 insertions(+), 10 deletions(-) diff --git a/.github/workflows/scripts/unix_test.sh b/.github/workflows/scripts/unix_test.sh index ea8a0ae4e7a6d..cb34dcb1058ba 100755 --- a/.github/workflows/scripts/unix_test.sh +++ b/.github/workflows/scripts/unix_test.sh @@ -17,7 +17,7 @@ setup_python python3 -m pip install dist/*.whl if [ -z "$GPU_TEST" ]; then python3 -m pip install -r requirements_test.txt - python3 -m pip install "torch; python_version < '3.10'" + python3 -m pip install "torch>1.12.0; python_version < '3.10'" # Paddle's develop package doesn't support CI's MACOS machine at present if [[ $OSTYPE == "linux-"* ]]; then python3 -m pip install "paddlepaddle==2.3.0; python_version < '3.10'" @@ -47,6 +47,8 @@ echo "wanted archs: $TI_WANTED_ARCHS" if [ "$TI_RUN_RELEASE_TESTS" == "1" -a -z "$TI_LITE_TEST" ]; then python3 -m pip install PyYAML git clone https://github.com/taichi-dev/taichi-release-tests + pushd taichi-release-tests + git checkout v1.1.0 mkdir -p repos/taichi/python/taichi EXAMPLES=$(cat <