From f089f436a79aa0fe6b5dc765f131f8bc260e558c Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Mon, 9 Feb 2026 10:08:52 +0000 Subject: [PATCH] =?UTF-8?q?Finalisation=20de=20la=20CI=20pour=20la=20quali?= =?UTF-8?q?t=C3=A9=20de=20code=20(#34)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: mcmuzzle Reviewed-on: https://gitea.borealian.ovh/mcmuzzle/LittleTown/pulls/34 --- .gitea/workflows/Quality.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index dfbc840..c364c58 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -49,14 +49,9 @@ jobs: username: "gitea" password: "password" port: 2222 - source: "${{ github.workspace }}/coverage-report/*" - target: "/config/test" - - name: Upload Combined Coverage XML - uses: actions/upload-artifact@v3 - with: - name: coverage - path: ${{ github.workspace }}/coverage-report/Cobertura.xml - retention-days: 5 + source: "coverage-report/*" + target: "/config/docs/workspace/${{ github.repository_owner }}/${{ github.event.repository.name }}/${{ github.event.pull_request.number }}/coverage-report/" + strip_components: 1 - name: Publish Code Coverage Report uses: irongut/CodeCoverageSummary@v1.3.0 with: @@ -79,7 +74,7 @@ jobs: run: | COMMENT_CONTENT=$(cat code-coverage-results.md) - COMMENT_CONTENT="${COMMENT_CONTENT}\n\nšŸ“Š [Rapport HTML complet](https://docs.borealian.ovh/workspace/mcmuzzle/LittleTown/coverage-report/index.html)" + COMMENT_CONTENT="${COMMENT_CONTENT}\n\nšŸ“Š [Rapport HTML complet](https://docs.borealian.ovh/workspace/${{ github.repository_owner }}//${{ github.event.repository.name }}/${{ github.event.pull_request.number }}/coverage-report/index.html)" curl -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \