Updated unit tests with correct nullable behavior #12
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: .NET Build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the repository | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # Setup .NET Core SDK | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 9.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore src/MaybeSharp.sln | |
| - name: Build | |
| run: dotnet build --no-restore src/MaybeSharp.sln | |
| - name: Test | |
| run: dotnet test --no-build src/MaybeSharp.sln -f net9.0 /p:CollectCoverage=true /p:Include="[MaybeSharp]*" |