Skip to content

Commit 242fc4e

Browse files
authored
[CI] disable h card unit tests (PaddlePaddle#76535)
* disable h unit tests * disable h unit tests * disable h unit tests
1 parent 8f4c90a commit 242fc4e

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

.github/workflows/H-Coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI-H-Coverage
1+
name: CI-H
22

33
on:
44
pull_request:
@@ -34,7 +34,7 @@ jobs:
3434
uses: ./.github/workflows/_Clone-linux.yml
3535
with:
3636
workflow-name: 'coverage'
37-
clone_dir: Paddle-coverage
37+
clone_dir: h-ci
3838

3939
build:
4040
name: Coverage build
@@ -114,7 +114,7 @@ jobs:
114114
rm -rf * .[^.]*
115115
set -e
116116
echo "Downloading Paddle.tar.gz"
117-
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PR/Paddle-coverage/${PR_ID}/${COMMIT_ID}/Paddle.tar.gz --no-check-certificate
117+
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PR/h-ci/${PR_ID}/${COMMIT_ID}/Paddle.tar.gz --no-check-certificate
118118
echo "Extracting Paddle.tar.gz"
119119
tar -xf Paddle.tar.gz --strip-components=1
120120
rm Paddle.tar.gz

.github/workflows/_Distribute-stable-Test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,19 @@ defaults:
2828
shell: bash
2929

3030
jobs:
31+
check-bypass:
32+
name: Check bypass
33+
if: ${{ inputs.clone-can-skip != 'true' }}
34+
uses: ./.github/workflows/check-bypass.yml
35+
with:
36+
workflow-name: distribute-test
37+
secrets:
38+
github-token: ${{ secrets.GITHUB_TOKEN }}
39+
3140
test:
3241
name: Test
33-
if: ${{ inputs.clone-can-skip != 'true' }}
42+
needs: check-bypass
43+
if: ${{ needs.check-bypass.outputs.can-skip != 'true' }}
3444
runs-on:
3545
group: Distribute
3646
steps:

ci/h-test.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,20 @@ tmpfile1=$tmp_dir/$tmpfile1_rand"_"$i
172172
set +e
173173

174174
get_quickly_disable_ut||disable_ut_quickly='disable_ut'
175+
disable_ut_quickly="$disable_ut_quickly|\
176+
^test_parallel_dygraph_sparse_embedding$|\
177+
^test_parallel_dygraph_unused_variables$|\
178+
^test_static_model_parallel$|\
179+
^test_parallel_dygraph_sync_batch_norm$|\
180+
^test_parallel_dygraph_no_sync$|\
181+
^test_parallel_dygraph_control_flow$|\
182+
^test_parallel_dygraph_no_sync$|\
183+
^test_orthogonal_strategy$|\
184+
^test_collective_alltoall_single$|\
185+
^test_collective_process_group$|\
186+
^test_parallel_dygraph_transformer$|\
187+
^test_new_api_per_op_and_group_intranode$|\
188+
^test_communication_stream_reduce_api$"
175189

176190
NUM_PROC=4
177191
EXIT_CODE=0

0 commit comments

Comments
 (0)