From d3387f08dac577044a15d7cd60bcd1e369e4232c Mon Sep 17 00:00:00 2001 From: just Date: Sun, 12 Jul 2026 18:12:06 +0400 Subject: [PATCH] fixed test pipeline --- .gitea/workflows/test-dotnet.yaml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/test-dotnet.yaml b/.gitea/workflows/test-dotnet.yaml index 400ff54..586651e 100644 --- a/.gitea/workflows/test-dotnet.yaml +++ b/.gitea/workflows/test-dotnet.yaml @@ -33,28 +33,16 @@ jobs: - name: Restore dependencies run: dotnet restore --disable-parallel - - name: Build .NET 10.0 - run: dotnet build --no-restore --framework net10.0 --configuration Release ./Raliway.Tests/Raliway.Tests.csproj + - name: Build + run: dotnet build --configuration Release --no-restore - - name: Build .NET 9.0 - run: dotnet build --no-restore --framework net9.0 --configuration Release ./Raliway.Tests/Raliway.Tests.csproj - - - name: Build .NET 8.0 - run: dotnet build --no-restore --framework net8.0 --configuration Release ./Raliway.Tests/Raliway.Tests.csproj - - - name: Test .NET 10.0 - run: dotnet run --no-build --framework net10.0 --configuration Release --project ./Raliway.Tests/Raliway.Tests.csproj -- -trx TestResults/results-net10.trx - - - name: Test .NET 9.0 - run: dotnet run --no-build --framework net9.0 --configuration Release --project ./Raliway.Tests/Raliway.Tests.csproj -- -trx TestResults/results-net9.trx - - - name: Test .NET 8.0 - run: dotnet run --no-build --framework net8.0 --configuration Release --project ./Raliway.Tests/Raliway.Tests.csproj -- -trx TestResults/results-net8.trx + - name: Test + run: dotnet test --configuration Release --no-build --verbosity normal --report-xunit-trx - name: Upload dotnet test results uses: actions/upload-artifact@v3 with: name: test-results - path: TestResults + path: tests/**/TestResults/**/*.trx if: ${{ always() }} - retention-days: 30 + retention-days: 3