Skip to content

Merge branch 'master' of github.com:Teodor92/MoreDotNet #16

Merge branch 'master' of github.com:Teodor92/MoreDotNet

Merge branch 'master' of github.com:Teodor92/MoreDotNet #16

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --logger "trx" /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=TestResults/
- name: Upload Test Results
uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: test-results
path: ./test/MoreDotNet.Test/TestResults/*.trx
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './test/MoreDotNet.Test/TestResults/coverage.info'