diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 07da142..4e1fc7a 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -44,6 +44,12 @@ jobs: tag: "${{ github.run_number }}_${{ github.run_id }}" # Optional tag or build version. customSettings: "" # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings. toolpath: "reportgeneratortool" # Default directory for installing the dotnet tool. + - name: Upload coverage report (debug) + uses: actions/upload-artifact@v3 + with: + name: coverage-report + path: coverage-report/ + if-no-files-found: error - name: Upload coverage via SSH uses: appleboy/scp-action@v1 with: @@ -52,7 +58,7 @@ jobs: password: "password" port: 2222 source: "coverage-report/*" - target: "/config/${{ github.event.pull_request.number }}" + target: "/config/test" - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: @@ -78,6 +84,7 @@ jobs: REPO_OWNER: mcmuzzle REPO_NAME: LittleTown PR_NUMBER: ${{ github.event.pull_request.number }} + run: | COMMENT_CONTENT=$(cat code-coverage-results.md) curl -X POST \