From 6eb0b944182446182f7ca2ffa18180c5a9dfb2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BE=BE?= <11511416+lida_001@user.noreply.gitee.com> Date: Sun, 12 Nov 2023 08:44:55 +0000 Subject: [PATCH] update devops/jenkinsfile/Jenkinsfile. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李达 <11511416+lida_001@user.noreply.gitee.com> --- devops/jenkinsfile/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devops/jenkinsfile/Jenkinsfile b/devops/jenkinsfile/Jenkinsfile index 829b513..ae806c8 100644 --- a/devops/jenkinsfile/Jenkinsfile +++ b/devops/jenkinsfile/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stages { stage('提交代码PR'){ steps { - sh 'python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt && pytest --cov=src tests --cov-report=html --cov-fail-under=90' + sh 'python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt && pytest --cov=src tests --cov-report=html --cov-fail-under=1' echo '提交代码PR' // exit 0 } -- Gitee