From 40166559f03e2421ae2c3d5c129ffa61f99ce876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20=C5=81api=C5=84ski?= Date: Mon, 12 Oct 2026 22:03:03 +0200 Subject: [PATCH] ci: run the unit tests on every target framework The packages ship for net8.0, net9.0 and net10.0, but the tests only ran on net10.0. The unit tests now target all three, and each run writes its own results file. The storage tests stay on net10.0, since the store code does not differ between targets. --- .github/workflows/ci.yml | 2 +- src/RunWay.Tests/RunWay.Tests.csproj | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30e56e5..0915638 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: run: > dotnet test src/RunWay.Tests/RunWay.Tests.csproj --no-build --configuration Release - --logger "trx;LogFileName=unit-results.trx" + --logger "trx;LogFilePrefix=unit-results" - name: Upload test results uses: actions/upload-artifact@v4 diff --git a/src/RunWay.Tests/RunWay.Tests.csproj b/src/RunWay.Tests/RunWay.Tests.csproj index 0163109..009637b 100644 --- a/src/RunWay.Tests/RunWay.Tests.csproj +++ b/src/RunWay.Tests/RunWay.Tests.csproj @@ -1,8 +1,7 @@ - - net10.0 + net8.0;net9.0;net10.0 false true