From 94789001970a23a062d42f48103b77af91790cef Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Mon, 30 May 2022 20:56:17 -0700 Subject: [PATCH] publish test results --- .github/workflows/build-packages.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 82391a8..f5f1044 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -50,10 +50,22 @@ jobs: run: dotnet build build.slnf -c Release - name: Run Tests - run: dotnet test build.slnf -c Release --no-build --logger "trx;LogFileName=test-results.trx" + run: | + dotnet test .\tests\Prism.Maui.Tests\ -c Release --no-build --logger "trx;LogFileName=prism.maui-results.trx" + dotnet test .\tests\Prism.DryIoc.Maui.Tests\ -c Release --no-build --logger "trx;LogFileName=prism.dryioc.maui-results.trx" + mkdir TestResults + mv .\tests\Prism.Maui.Tests\TestResults\prism.maui-results.trx .\TestResults + mv .\tests\Prism.DryIoc.Maui.Tests\TestResults\prism.dryioc.maui-results.trx .\TestResults + + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + if: ${{ always() }} + with: + name: Test Results + path: Artifacts/ - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: NuGet path: Artifacts/