From 8f9eefdedf024ea6d7da3b580267fbf4296dd592 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Mon, 26 Aug 2024 00:02:55 +0200 Subject: [PATCH] suite --- .gitea/workflows/Quality.yaml | 7 +++--- .gitea/workflows/tests.yaml | 40 +++++++++++++++++------------------ 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index c1686ab..ebaec7b 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -54,7 +54,6 @@ jobs: name: coverage path: ${{ github.workspace }}/Cobertura.xml retention-days: 5 - - run: ls - name: Publish Code Coverage Report uses: irongut/CodeCoverageSummary@v1.3.0 with: @@ -67,13 +66,13 @@ jobs: indicators: true output: both thresholds: "10 30" - + - run: ls - name: Add Coverage PR Comment uses: marocchino/sticky-pull-request-comment@v2 if: github.event_name == 'pull_request' with: - message: | - Release ${{ github.sha }} to + recreate: true + path: code-coverage-results.md - name: Upload Test Result Files uses: actions/upload-artifact@v4 diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index df42205..874fa2b 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -1,24 +1,24 @@ -name: dotnet package +# name: dotnet package -on: [push] +# on: [push] -jobs: - build: +# jobs: +# build: - runs-on: ubuntu-latest - strategy: - matrix: - dotnet-version: [ '8.0.x' ] +# runs-on: ubuntu-latest +# strategy: +# matrix: +# dotnet-version: [ '8.0.x' ] - steps: - - uses: actions/checkout@v4 - - name: Setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '8.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 +# steps: +# - uses: actions/checkout@v4 +# - name: Setup dotnet +# uses: actions/setup-dotnet@v3 +# with: +# dotnet-version: '8.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