switch from FluentAssertions to Shouldly
Some checks failed
.NET Test / test (8.x) (push) Failing after 1m21s
.NET Test / test (9.x) (push) Failing after 1m25s

This commit is contained in:
2025-11-11 17:57:10 +04:00
parent 312219d42f
commit e28fc62b31
13 changed files with 109 additions and 81 deletions

View File

@@ -15,13 +15,19 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
strategy:
matrix:
dotnet-version: [ '8.x', '9.x' ]
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
- name: Setup .NET
uses: https://github.com/actions/setup-dotnet@v3
steps:
- uses: actions/checkout@v5
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: https://github.com/actions/setup-dotnet@v4
with:
dotnet-version: 9.x
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
@@ -30,12 +36,12 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults-9.x"
run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Upload dotnet test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dotnet-results-9.x
path: TestResults-9.x
name: dotnet-results-${{ matrix.dotnet-version }}
path: TestResults-${{ matrix.dotnet-version }}
if: ${{ always() }}
retention-days: 30