Skip to content

Commit 4d106a5

Browse files
authored
[ci] Disable paddle tests, limit cmake version (#8670)
1 parent d7c758f commit 4d106a5

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/scripts/common-utils.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ install_taichi_wheel() {
3737
python3 -m pip install -r requirements_test.txt
3838
python3 -m pip install "torch>1.12.0; python_version < '3.10'"
3939
# Paddle's develop package doesn't support CI's MACOS machine at present
40-
if [[ $OSTYPE == "linux-"* ]]; then
41-
python3 -m pip install "paddlepaddle==2.3.0; python_version < '3.10'"
42-
fi
40+
# if [[ $OSTYPE == "linux-"* ]]; then
41+
# python3 -m pip install "paddlepaddle==2.3.0; python_version < '3.10'"
42+
# fi
4343
else
4444
## Only GPU machine uses system python.
4545
export PATH=$PATH:$HOME/.local/bin

.github/workflows/scripts/unix_test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,10 @@ if [ -z "$GPU_TEST" ]; then
102102
else
103103
echo "::warning:: Hitting Running CPU tests only"
104104
# Fail fast, give priority to the error-prone tests
105-
if [[ $OSTYPE == "linux-"* ]]; then
106-
run-it cpu 1 "paddle"
107-
fi
105+
# FIXME(proton): Disable paddle tests, out of sync for too long
106+
# if [[ $OSTYPE == "linux-"* ]]; then
107+
# run-it cpu 1 "paddle"
108+
# fi
108109
run-it cpu $N
109110
run-it cpu 1 "torch"
110111
fi

.github/workflows/scripts/win_test.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Invoke ti diagnose
3232
# Invoke ti changelog
3333
echo wanted arch: $env:TI_WANTED_ARCHS
3434
Invoke pip install -r requirements_test.txt
35-
Invoke pip install "paddlepaddle==2.3.0; python_version < '3.10'"
35+
# Invoke pip install "paddlepaddle==2.3.0; python_version < '3.10'"
3636

3737
if ($env:EXTRA_TEST_MARKERS) {
3838
$EXTRA_TEST_MARKERS_SOLO = @("-m", $env:EXTRA_TEST_MARKERS)
@@ -47,7 +47,8 @@ if ($env:EXTRA_TEST_MARKERS) {
4747
Invoke python tests/run_tests.py --cpp -vr2 -t4 @EXTRA_TEST_MARKERS_SOLO
4848

4949
# Fail fast, give priority to the error-prone tests
50-
Invoke python tests/run_tests.py -vr2 -t1 -k "paddle" -a cpu @EXTRA_TEST_MARKERS_SOLO
50+
# FIXME(proton): Disable paddle tests, out of sync for too long.
51+
# Invoke python tests/run_tests.py -vr2 -t1 -k "paddle" -a cpu @EXTRA_TEST_MARKERS_SOLO
5152

5253
# Disable paddle for the remaining test
5354
$env:TI_ENABLE_PADDLE = "0"

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake
1+
cmake<4.0.0
22
colorama
33
coverage
44
Pillow

0 commit comments

Comments
 (0)