Skip to content

Commit

Permalink
[ci] Fix Nightly (#4948)
Browse files Browse the repository at this point in the history
* [ci] Fix nightly test

* Add python 3.7 3.9 in nightly
  • Loading branch information
qiao-bo authored and turbo0628 committed May 17, 2022
1 parent 31ded06 commit 14f0acb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 14f0acb

Please sign in to comment.