From cfbd1dccd371473b925c056bbb60a7ea7c6d7793 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 22:20:42 +0100 Subject: [PATCH] test1 --- .gitea/workflows/Quality.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 14dcc35..d3e4d3c 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -8,6 +8,7 @@ on: env: REGISTRY: gitea.borealian.ovh + IMAGE_NAME: ${{ github.repository }} jobs: build: name: "Build & Test" @@ -22,22 +23,19 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 - - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: | 10.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" - - 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@v5.5.1 with: reports: "**/*.cobertura.xml" # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported. - targetdir: "coverage-report" # REQUIRED # The directory where the generated report should be saved. + targetdir: "${{ github.workspace }}/coverage-report" # REQUIRED # The directory where the generated report should be saved. reporttypes: "Html;MarkdownSummary;Cobertura" # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, Html_Dark, Html_Light, Html_BlueRed, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlInline_AzurePipelines_Light, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, TextDeltaSummary, Xml, XmlSummary verbosity: "Info" # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off title: "Code Coverage" # Optional title. @@ -51,7 +49,7 @@ jobs: username: "gitea" password: "password" port: 2222 - source: "coverage-report/*" + source: "${{ github.workspace }}/coverage-report/*" target: "/config/test" - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3