From da3fc98f6334fd55a58723c85f79b3565d2041cc Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Sat, 11 Jul 2026 14:07:33 +0800 Subject: [PATCH] chore(ci): restore -x flag after diagnosis --- .gitea/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index a78729ca0..5a3bffdcc 100755 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -165,7 +165,7 @@ jobs: run: | set -eu PYTHONPATH="$PWD/apps/api:$PWD" python3 -m pytest tests/unit -q \ - --cov=apps --cov-report=term --cov-report=xml + --cov=apps --cov-report=term --cov-report=xml --cov-fail-under=50 - name: Start PostgreSQL for integration tests shell: sh @@ -210,8 +210,8 @@ jobs: run: | set -eu pip install -q pytest-rerunfailures - PYTHONPATH="$PWD/apps/api:$PWD" python3 -m pytest tests/integration -q --timeout=60 --reruns 2 --reruns-delay 1 -m "not performance" \ - --cov=apps --cov-append --cov-report=term --cov-report=xml + PYTHONPATH="$PWD/apps/api:$PWD" python3 -m pytest tests/integration -q --timeout=60 -x --reruns 2 --reruns-delay 1 -m "not performance" \ + --cov=apps --cov-append --cov-report=term --cov-report=xml --cov-fail-under=50 - name: Run API performance baseline tests shell: sh