-
Notifications
You must be signed in to change notification settings - Fork 40
32 lines (28 loc) · 900 Bytes
/
dotnet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.302
- name: Restore dependencies
run: dotnet restore source
- name: Build
run: dotnet build source --no-restore
- name: Test
run: dotnet test source -f net6.0 --no-build --verbosity normal
#- name: Coverage
# run: dotnet --% test source/Sylvan.Data.Csv.Tests/ -c Release -f net6.0 /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Include=\"[Sylvan.Data.Csv]*\"
#- name: Publish coverage
# uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# path-to-lcov: reports/Sylvan.Data.Csv.Tests/coverage.net6.0.info