Skip to content

Commit

Permalink
git clone depth
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu committed Oct 11, 2022
1 parent 837f695 commit f058386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/unix_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ EOF
)
ln -sf $EXAMPLES repos/taichi/python/taichi/examples
pushd repos
git clone https://github.com/taichi-dev/quantaichi
git clone https://github.com/taichi-dev/difftaichi
git clone --depth=1 https://github.com/taichi-dev/quantaichi
git clone --depth=1 https://github.com/taichi-dev/difftaichi
popd

pushd repos/difftaichi
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scripts/win_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ if ("$env:TI_RUN_RELEASE_TESTS" -eq "1" -and -not "$env:TI_LITE_TEST") {
Info "Running release tests"
# release tests
Invoke pip install PyYAML
Invoke git clone https://github.com/taichi-dev/taichi-release-tests
Invoke git clone --depth=1 https://github.com/taichi-dev/taichi-release-tests
Push-Location taichi-release-tests
Invoke git checkout v1.1.0
mkdir -p repos/taichi/python/taichi
$EXAMPLES = & python -c 'import taichi.examples as e; print(e.__path__._path[0])' | Select-Object -Last 1
Push-Location repos
Invoke git clone https://github.com/taichi-dev/quantaichi
Invoke git clone https://github.com/taichi-dev/difftaichi
Invoke git clone --depth=1 https://github.com/taichi-dev/quantaichi
Invoke git clone --depth=1 https://github.com/taichi-dev/difftaichi
Pop-Location
Push-Location repos/difftaichi
Invoke pip install -r requirements.txt
Expand Down

0 comments on commit f058386

Please sign in to comment.