Skip to content

GetCollection Method #393

GetCollection Method

GetCollection Method #393

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
# run build and test
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=ManagedCode.Repository.Tests/lcov.info
#- name: coverlet
# uses: b3b00/[email protected]
# with:
# testProject: 'ManagedCode.Database.Tests/ManagedCode.Database.Tests.csproj'
# output: 'lcov.info'
# outputFormat: 'lcov'
# excludes: '[program]*,[test]test.*'
#- name: coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{secrets.GITHUB_TOKEN }}
# path-to-lcov: ManagedCode.Storage.Tests/lcov.info