From 9f7333c8a49cde4f7f29da053c53e8d37c57f728 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Mon, 26 Aug 2024 22:00:13 +0200 Subject: [PATCH] suite4 --- .gitea/workflows/Quality.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index a87d0df..290ba65 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -33,7 +33,8 @@ jobs: dotnet-version: | 8.x - name: "Restore/Build/Test" - run: dotnet test ./src/LittleTown.sln --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage" --logger:"trx;LogFileName=test_results.xml" + run: | + dotnet test ./src/LittleTown.sln --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage" --logger:"trx;LogFileName=test_results.xml" - name: Combine Coverage Reports # This is because one report is produced per project, and we want one result for all of them. uses: danielpalme/ReportGenerator-GitHub-Action@5.3.8 with: @@ -85,11 +86,3 @@ jobs: name: test-results path: ${{ github.workspace }}/**/TestResults/**/* retention-days: 5 - - - name: publish-comment - image: curlimages/curl - environment: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} - commands: - - COMMENT="Test Results: $(cat test_results.xml)" - - curl -X POST -H "Authorization: token ${GITEA_TOKEN}" -d "{ \"body\": \"$COMMENT\" }" "${DRONE_BUILD_LINK}/comments"