We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b65803 commit 46078f0Copy full SHA for 46078f0
1 file changed
.github/workflows/test.yml
@@ -57,13 +57,16 @@ jobs:
57
mkdir -p TestResults
58
found=false
59
for proj in $(find . -name "*.Tests.csproj"); do
60
- found=true
61
- echo "Running tests for $proj"
62
- dotnet test "$proj" \
63
- --no-build \
64
- --configuration ${{ env.BUILD_CONFIGURATION }} \
65
- --logger "trx;LogFileName=$(basename $proj).trx" \
66
- --results-directory ./TestResults
+ for fw in net9.0 net8.0; do
+ found=true
+ echo "Running tests for $proj ($fw)"
+ dotnet test "$proj" \
+ --no-build \
+ --configuration ${{ env.BUILD_CONFIGURATION }} \
+ --framework $fw \
67
+ --logger "trx;LogFileName=$(basename $proj)-$fw.trx" \
68
+ --results-directory ./TestResults
69
+ done
70
done
71
72
if [ "$found" = false ]; then
0 commit comments