-
Notifications
You must be signed in to change notification settings - Fork 237
40 lines (37 loc) · 852 Bytes
/
build.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
33
34
35
36
37
38
39
40
name: dotnet package
on:
push:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet:
- 3.1.x
- 5.0.x
- 6.0.x
- 7.0.x
- 8.0.x
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
- name: DotNetBuild
shell: pwsh
run: ./ci-build.ps1
- name: Install Ghostscript
run: sudo apt-get install -y ghostscript
- name: Test
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Codecov
uses: codecov/codecov-action@v3