Update NuGet Packages - Minor Updates #136
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: dotnetcore | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v3.0.3 | |
- name: Build with dotnet | |
run: cd src && dotnet build --configuration Release | |
- name: Unit test with coverage report | |
run: | | |
printenv | |
cd ./src/Atrea.Extensions.Tests/ | |
dotnet test /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov | |
- name: Publish coverage report to coveralls.io | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./src/Atrea.Extensions.Tests/TestResults/coverage.info |