Create LICENSE #29
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: Test and Report to Coveralls | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Run Tests | |
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=../TestResults/lcov.info | |
- name: Coveralls GitHub Action | |
# You may pin to the exact commit or the version. | |
# uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 | |
uses: coverallsapp/github-action@1.1.3 | |
with: | |
# | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# Path to lcov file | |
path-to-lcov: ./TestResults/lcov.info |