-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (41 loc) · 1.23 KB
/
Fancy.ResourceLinker.Models.yaml
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
name: Fancy.ResourceLinker.Models
on:
push:
paths:
- 'src/Fancy.ResourceLinker.Models/**'
- 'src/Fancy.ResourceLinker.Models.UTest/**'
- 'src/Fancy.ResourceLinker.Models.ITest/**'
- '.github/workflows/Fancy.ResourceLinker.Models.yaml'
pull_request:
paths:
- 'src/Fancy.ResourceLinker.Models/**'
- 'src/Fancy.ResourceLinker.Models.UTest/**'
- 'src/Fancy.ResourceLinker.Models.ITest/**'
- '.github/workflows/Fancy.ResourceLinker.Models.yaml'
jobs:
buid:
runs-on: ubuntu-latest
steps:
# Checkout repository
- name: Checkout
uses: actions/checkout@v3
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
# Build library
- name: Build library
run: |
cd ./src/Fancy.ResourceLinker.Models/
dotnet build
# Execute all unit tests
- name: Execute unit tests
run: |
cd ./src/Fancy.ResourceLinker.Models.UTest/
dotnet test
# Execute all integration tests
- name: Execute integration tests
run: |
cd ./src/Fancy.ResourceLinker.Models.ITest/
dotnet test