NCBC-4118: BucketManagerTest failures on FIT #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build & Run Unit Tests (.NET Framework 4.8) | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '*' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-and-test: | |
| name: Build and Unit Tests (Windows .NET Framework 4.8) | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore NuGet packages | |
| run: dotnet restore tests/Couchbase.UnitTests/Couchbase.UnitTests.csproj | |
| - name: Build (Release) | |
| run: dotnet build tests/Couchbase.UnitTests/Couchbase.UnitTests.csproj --configuration Release --framework net48 --no-restore | |
| - name: Setup VSTest | |
| uses: darenm/Setup-VSTest@v1.3 | |
| - name: Test - Couchbase.UnitTests | |
| run: vstest.console.exe tests/Couchbase.UnitTests/bin/Release/net48/Couchbase.UnitTests.dll "/Logger:trx;LogFileName=unit-tests.trx" /ResultsDirectory:TestResults | |
| - name: Upload Test Results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: unit-test-results-windows-net48 | |
| path: TestResults | |