Skip to content

Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#274) #500

Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#274)

Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#274) #500

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
CollectCoverage: true
CoverletOutputFormat: opencover
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore Dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Run Unit Tests
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByFile="**/HostsParser/Program.cs"
- uses: codecov/codecov-action@v3
with:
flags: unittests
fail_ci_if_error: true