-
Notifications
You must be signed in to change notification settings - Fork 18
41 lines (31 loc) · 827 Bytes
/
main.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
name: CI
on:
push
env:
UseSqlServerContainer: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install .NET Core 8/9 SDKs
uses: actions/setup-dotnet@v2
with:
include-prerelease: false
dotnet-version: |
8.0.x
9.0.x
- name: checkout repository
uses: actions/checkout@v2
- name: dotnet restore
run: dotnet restore
- name: build
run: dotnet build --configuration Release --no-restore
- name: test
run: dotnet test --configuration Release --no-build
- name: test results
uses: EnricoMi/publish-unit-test-result-action@v2
id: test-results
if: always()
with:
check_name: tests results
trx_files: "**/test-results/**/*.trx"