chore: adding unit test coverage and fixing up some SonarQube warnings #23
Workflow file for this run
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 Core | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 3.1 | |
| - name: Install dependencies | |
| run: dotnet restore | |
| working-directory: ./src/ | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| working-directory: ./src/ | |
| - name: Test | |
| run: dotnet test src --no-restore --verbosity normal | |