Update NuGet Packages - Major Updates #59
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/[email protected] | |
- name: Build with dotnet | |
run: cd src && dotnet build --configuration Release | |
- name: Unit test with coverage report | |
run: | | |
printenv | |
cd ./src/Atrea.Utilities.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.Utilities.Tests/TestResults/coverage.info |