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/