From 753709906c8e401e14b0acdc35c20a9111cc3e07 Mon Sep 17 00:00:00 2001 From: x54-729 <17307130121@fudan.edu.cn> Date: Wed, 18 May 2022 06:47:22 +0000 Subject: [PATCH] =?UTF-8?q?paddle=20jittor=E7=9A=84=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0--co=EF=BC=8C=E4=BB=85=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=83=BD=E5=90=A6import=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ea28288c..20b48fbc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,11 +48,11 @@ pipeline { } } steps { - sh 'pytest ./tests --durations=0 -m paddle' - sh 'FASTNLP_BACKEND=paddle pytest ./tests --durations=0 -m paddle' - sh 'FASTNLP_BACKEND=paddle pytest ./tests/core/drivers/paddle_driver/test_dist_utils.py --durations=0' - sh 'FASTNLP_BACKEND=paddle pytest ./tests/core/drivers/paddle_driver/test_fleet.py" --durations=0' - sh 'FASTNLP_BACKEND=paddle pytest ./tests/core/core/controllers/test_trainer_paddle.py --durations=0' + sh 'pytest ./tests --durations=0 -m paddle --co' + sh 'FASTNLP_BACKEND=paddle pytest ./tests --durations=0 -m paddle --co' + sh 'FASTNLP_BACKEND=paddle pytest ./tests/core/drivers/paddle_driver/test_dist_utils.py --durations=0 --co' + sh 'FASTNLP_BACKEND=paddle pytest ./tests/core/drivers/paddle_driver/test_fleet.py --durations=0 --co' + sh 'FASTNLP_BACKEND=paddle pytest ./tests/core/controllers/test_trainer_paddle.py --durations=0 --co' } } stage('Test Jittor') { @@ -65,7 +65,7 @@ pipeline { steps { // sh 'pip install fitlog' // sh 'pytest ./tests --html=test_results.html --self-contained-html' - sh 'pytest ./tests --durations=0 -m jittor' + sh 'pytest ./tests --durations=0 -m jittor --co' } } }