From 33155d788d7f27e5429014d146eb405a6537f036 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 22:11:42 +0100 Subject: [PATCH 01/16] test1 --- .gitea/workflows/Quality.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 04ee603..5081e0c 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -39,13 +39,17 @@ jobs: 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: "${{ github.workspace }}" # REQUIRED # The directory where the generated report should be saved. - reporttypes: "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 + targetdir: "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. 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: Publish coverage to pages + run: | + mkdir -p pages + cp -r coverage-report/* pages/ - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: -- 2.49.1 From 9b1d5732317d1b17b595c023ce7f68055953322f Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 22:22:40 +0100 Subject: [PATCH 02/16] test1 --- .gitea/workflows/Quality.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 5081e0c..62ac198 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -46,6 +46,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: Publish coverage to pages run: | mkdir -p pages -- 2.49.1 From ea7a32d0c9cab9ec6292ac61697b24aafff11966 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 22:56:57 +0100 Subject: [PATCH 03/16] test1 --- .gitea/workflows/Quality.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 62ac198..8f42404 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -54,8 +54,8 @@ jobs: if-no-files-found: error - name: Publish coverage to pages run: | - mkdir -p pages - cp -r coverage-report/* pages/ + mkdir -p /coverage/littletown + cp -r coverage-report/* /coverage/littletown/ - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: -- 2.49.1 From 05804114b43fbf4542121ba84e8b1032f5e1d74c Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 23:14:46 +0100 Subject: [PATCH 04/16] test1 --- .gitea/workflows/Quality.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 8f42404..b6bebe9 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -53,9 +53,7 @@ jobs: path: coverage-report/ if-no-files-found: error - name: Publish coverage to pages - run: | - mkdir -p /coverage/littletown - cp -r coverage-report/* /coverage/littletown/ + run: ls coverage-report - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: -- 2.49.1 From 6377884651bbe6b0cd78b8e3483c9d11d156faa4 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 23:25:35 +0100 Subject: [PATCH 05/16] test1 --- .gitea/workflows/Quality.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index b6bebe9..18022f3 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -54,6 +54,15 @@ jobs: if-no-files-found: error - name: Publish coverage to pages run: ls coverage-report + - name: Upload coverage via SSH + uses: appleboy/ssh-action@v0.1.6 + with: + host: ssh-server + username: gitea + password: password + port: 2222 + source: "coverage-report/*" + target: "/home/gitea/coverage/littletown/" - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: -- 2.49.1 From 516bd3cf873f15d4a0d15fff0647a42c819fca05 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 23:33:40 +0100 Subject: [PATCH 06/16] test1 --- .gitea/workflows/Quality.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 18022f3..5918edf 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -57,9 +57,9 @@ jobs: - name: Upload coverage via SSH uses: appleboy/ssh-action@v0.1.6 with: - host: ssh-server - username: gitea - password: password + host: "ssh-server" + username: "gitea" + password: "password" port: 2222 source: "coverage-report/*" target: "/home/gitea/coverage/littletown/" -- 2.49.1 From 7e52bd0e33f0e58e0e6106cdf854884fa3f12272 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 23:37:33 +0100 Subject: [PATCH 07/16] test1 --- .gitea/workflows/Quality.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 5918edf..290a303 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -57,7 +57,7 @@ jobs: - name: Upload coverage via SSH uses: appleboy/ssh-action@v0.1.6 with: - host: "ssh-server" + host: "192.168.1.103" username: "gitea" password: "password" port: 2222 -- 2.49.1 From 44a4ed95f5fcccca96f0bc548e908ccbd3b908de Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 23:41:45 +0100 Subject: [PATCH 08/16] test1 --- .gitea/workflows/Quality.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 290a303..6f2cdcf 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -62,7 +62,7 @@ jobs: password: "password" port: 2222 source: "coverage-report/*" - target: "/home/gitea/coverage/littletown/" + target: "/config/test" - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: -- 2.49.1 From cf5e17f43013dfb97d66ff7b4358b9e0889712b7 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Thu, 5 Feb 2026 23:48:17 +0100 Subject: [PATCH 09/16] test1 --- .gitea/workflows/Quality.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 6f2cdcf..a5fd0af 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -55,7 +55,7 @@ jobs: - name: Publish coverage to pages run: ls coverage-report - name: Upload coverage via SSH - uses: appleboy/ssh-action@v0.1.6 + uses: appleboy/scp-action@v1 with: host: "192.168.1.103" username: "gitea" -- 2.49.1 From c72d511d3abf74466cd2fe5d3cbf051fe6d3979a Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 19:47:41 +0100 Subject: [PATCH 10/16] test1 --- .gitea/workflows/Quality.yaml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index a5fd0af..07da142 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -3,16 +3,11 @@ name: "Main Build Process" # Runs on main branch commits, # every commit in a pull request, any published release. on: - push: - branches: ["main"] pull_request: branches: ["main"] - release: - types: [published] env: REGISTRY: gitea.borealian.ovh - IMAGE_NAME: ${{ github.repository }} jobs: build: name: "Build & Test" @@ -27,14 +22,17 @@ 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: @@ -46,14 +44,6 @@ 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: Publish coverage to pages - run: ls coverage-report - name: Upload coverage via SSH uses: appleboy/scp-action@v1 with: @@ -62,7 +52,7 @@ jobs: password: "password" port: 2222 source: "coverage-report/*" - target: "/config/test" + target: "/config/${{ github.event.pull_request.number }}" - name: Upload Combined Coverage XML uses: actions/upload-artifact@v3 with: @@ -88,7 +78,6 @@ 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 \ -- 2.49.1 From f1a805fce2cc904f20574960575187bf5b4c76eb Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 19:48:58 +0100 Subject: [PATCH 11/16] test1 --- .gitea/workflows/Main.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .gitea/workflows/Main.yaml diff --git a/.gitea/workflows/Main.yaml b/.gitea/workflows/Main.yaml deleted file mode 100644 index 2f801be..0000000 --- a/.gitea/workflows/Main.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: check main state - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - dotnet-version: [ '10.0.x' ] - - steps: - - uses: actions/checkout@v6 - - name: Setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '10.0.x' - - name: Install dependencies - run: dotnet restore ./src/LittleTown.sln - - name: Build - run: dotnet build ./src/LittleTown.sln - - name: Test with the dotnet CLI - run: dotnet test ./src/LittleTown.sln \ No newline at end of file -- 2.49.1 From d16c9278bbf7c1055f50c94c47b9a3a8bda6d5d5 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 22:08:18 +0100 Subject: [PATCH 12/16] test1 --- .gitea/workflows/Quality.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 \ -- 2.49.1 From 8e86086ca554d63e80e60cf709eec5c0012e7a24 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 22:17:49 +0100 Subject: [PATCH 13/16] test1 --- .gitea/workflows/Quality.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 4e1fc7a..14dcc35 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -44,12 +44,6 @@ 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: -- 2.49.1 From cfbd1dccd371473b925c056bbb60a7ea7c6d7793 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 22:20:42 +0100 Subject: [PATCH 14/16] 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 -- 2.49.1 From 0028368928eee99c19bc4c74dc2c3b7d446b84d1 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 22:24:51 +0100 Subject: [PATCH 15/16] test1 --- .gitea/workflows/Quality.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index d3e4d3c..d70eec8 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -55,12 +55,12 @@ jobs: uses: actions/upload-artifact@v3 with: name: coverage - path: ${{ github.workspace }}/Cobertura.xml + path: ${{ github.workspace }}/coverage-report/Cobertura.xml retention-days: 5 - name: Publish Code Coverage Report uses: irongut/CodeCoverageSummary@v1.3.0 with: - filename: "Cobertura.xml" + filename: "coverage-report/Cobertura.xml" badge: true fail_below_min: false # just informative for now format: markdown -- 2.49.1 From 656eeeb1b83c8bf3aaa404c2b356b7e1721b81a0 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Fri, 6 Feb 2026 22:45:35 +0100 Subject: [PATCH 16/16] test1 --- .gitea/workflows/Quality.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index d70eec8..2d80c97 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -79,6 +79,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)" curl -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ -- 2.49.1