Skip to content

Updated unit tests with correct nullable behavior #12

Updated unit tests with correct nullable behavior

Updated unit tests with correct nullable behavior #12

Workflow file for this run

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]*"