Fix: documentation and add unit test issue 294 #332
This file contains 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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dependencies | |
run: dotnet tool install --global coveralls.net | |
- name: Restore dependencies | |
run: dotnet restore ./src --verbosity m | |
- name: Restore nugets | |
run: nuget restore ./src | |
- name: Pack | |
run: dotnet pack -c release ./src/System.Net.IPNetwork | |
- name: Build | |
run: dotnet build --no-restore -c release ./src/ConsoleApplication --no-restore | |
- name: Test | |
run: dotnet test --verbosity normal ./src/ConsoleApplication/ConsoleApplication.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover |