From 14f0acba415bde15a211785527a5114fe3b7782d Mon Sep 17 00:00:00 2001 From: Bo Qiao Date: Tue, 10 May 2022 21:10:36 +0800 Subject: [PATCH] [ci] Fix Nightly (#4948) * [ci] Fix nightly test * Add python 3.7 3.9 in nightly --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcfb1bb71f5e4..18d5fdd129ab7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,10 +56,10 @@ jobs: echo '::set-output name=matrix_osx::{"include":[{"name":"taichi","python":"3.8"},{"name":"taichi","python":"3.9"},{"name":"taichi","python":"3.10"}]}"' else # For nightly release, we run on three python versions. - echo '::set-output name=matrix::{"include":[{"name":"taichi-nightly","python":"3.6","conda_python":"py36"},{"name":"taichi-nightly","python":"3.8","conda_python":"py38"},{"name":"taichi-nightly","python":"3.10","conda_python":"py310"}]}"' + echo '::set-output name=matrix::{"include":[{"name":"taichi-nightly","python":"3.6","conda_python":"py36"},{"name":"taichi-nightly","python":"3.7","conda_python":"py37"},{"name":"taichi-nightly","python":"3.8","conda_python":"py38"},{"name":"taichi-nightly","python":"3.9","conda_python":"py39"},{"name":"taichi-nightly","python":"3.10","conda_python":"py310"}]}"' # M1 only supports py38 and py310(conda), so change matrix. - echo '::set-output name=matrix_osx::{"include":[{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.10"}]}"' + echo '::set-output name=matrix_osx::{"include":[{"name":"taichi-nightly","python":"3.8"},{"name":"taichi-nightly","python":"3.9"},{"name":"taichi-nightly","python":"3.10"}]}"' fi build_and_test_linux: @@ -402,6 +402,7 @@ jobs: . venv\Scripts\activate.ps1 python -c "import taichi" pip install torch + pip install -r requirements_test.txt ti diagnose python tests/run_tests.py -vr2 -t2 env: