-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (29 loc) · 1005 Bytes
/
ci.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
name: CI
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, edited, synchronize]
paths-ignore: ["**.md"]
jobs:
build_and_test:
name: 🛠️ Build and 🧪 Test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup dotnet
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: build and test
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=coverage/lcov.info --configuration Release
- name: Coveralls UnitTests
uses: coverallsapp/[email protected]
with:
path-to-lcov: test/dotnet-test-rerun.UnitTests/coverage/lcov.info
flag-name: UnitTests
- name: Coveralls IntegrationTests
uses: coverallsapp/[email protected]
with:
path-to-lcov: test/dotnet-test-rerun.IntegrationTests/coverage/lcov.info
flag-name: IntegrationTests