-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (46 loc) · 1.81 KB
/
BuildAndTest_LinkedDataServer.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
41
42
43
44
45
46
47
48
49
50
name: Build and test Hercules.Asio.LinkedDataServer
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Build
run: dotnet build src/Hercules.Asio.LinkedDataServer
- name: Test
run: dotnet test --collect:"XPlat Code Coverage" src/Hercules.Asio.LinkedDataServer
- name: Codecov
# You may pin to the exact commit or the version.
# uses: codecov/codecov-action@239febf655bba88b16ff5dea1d3135ea8663a1f9
uses: codecov/[email protected]
with:
# User defined upload name. Visible in Codecov UI
# name: # optional
# Repository upload token - get it from codecov.io. Required only for private repositories
# token: e5277ec5-491c-435b-ad01-1883e35fb366
# Path to coverage file to upload
# file: XUnitTestUrisFactory/TestResults
# Comma-separated list of files to upload
# file: coverage.cobertura.xml
# files: # optional
# Directory to search for coverage reports.
directory: src/Hercules.Asio.LinkedDataServer
# Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)
# flags: # optional
flags: linkedData
# Write upload file to path before uploading
# path_to_write_report: # optional
# Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)
# env_vars: # optional
# Specify whether or not CI build should fail if Codecov runs into an error during upload
# fail_ci_if_error: # optional
# Specify whether the Codecov output should be verbose
# verbose: # optional