Skip to content

Create LICENSE

Create LICENSE #29

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