From 0d23a30f57388db3a1c7a9c20efc7c363f149a79 Mon Sep 17 00:00:00 2001 From: mirage <119869686+ClementBobin@users.noreply.github.com> Date: Thu, 2 Apr 2026 12:00:27 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20supprimer=20la=20gestion=20du=20code=20d?= =?UTF-8?q?e=20sortie=20pour=20les=20probl=C3=A8mes=20de=20performance=20d?= =?UTF-8?q?ans=20les=20v=C3=A9rifications=20des=20points=20de=20terminaiso?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/pr-endpoint-check.yml | 9 +-------- scripts/test-endpoints.sh | 5 +---- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/pr-endpoint-check.yml b/.gitea/workflows/pr-endpoint-check.yml index 1aba34b..9cd7435 100644 --- a/.gitea/workflows/pr-endpoint-check.yml +++ b/.gitea/workflows/pr-endpoint-check.yml @@ -74,7 +74,6 @@ jobs: run: | chmod +x scripts/test-endpoints.sh bash scripts/test-endpoints.sh http://localhost:5038 1000 2>&1 | tee /tmp/webzine_endpoint_output.txt - EXIT_CODE=${PIPESTATUS[0]} FAIL_COUNT=$(grep -cE "^\[ÉCHEC\]" /tmp/webzine_endpoint_output.txt 2>/dev/null || echo 0) SLOW_COUNT=$(grep -cE "^\[LENT\]" /tmp/webzine_endpoint_output.txt 2>/dev/null || echo 0) @@ -137,10 +136,4 @@ jobs: -H "Authorization: token $GITEA_TOKEN" \ -H "Content-Type: application/json" \ -d "$(jq -n --arg body "$BODY" '{body: $body}')" \ - "$GITEA_SERVER_URL/api/v1/repos/$REPO/issues/$PR_NUMBER/comments" - - - name: Fail job if performance issues detected - if: steps.perf_test.outputs.failed > 0 || steps.perf_test.outputs.slow > 0 - run: | - echo "❌ Job failed due to performance issues" - exit 1 \ No newline at end of file + "$GITEA_SERVER_URL/api/v1/repos/$REPO/issues/$PR_NUMBER/comments" \ No newline at end of file diff --git a/scripts/test-endpoints.sh b/scripts/test-endpoints.sh index 0c96983..4eb567e 100644 --- a/scripts/test-endpoints.sh +++ b/scripts/test-endpoints.sh @@ -221,7 +221,4 @@ cat >> "$RAPPORT_FICHIER" <