-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (50 loc) · 1.31 KB
/
test_efcore.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
51
52
name: test EFCore
on:
push:
branches:
- '**'
tags-ignore:
- '*.*'
paths:
- 'src/ODatalizer/**'
- 'src/ODatalizer.EFCore/**'
- 'src/ODatalizer.EFCore.Tests/**'
- 'src/ODatalizer.EFCore.sln'
- '.github/workflows/test_efcore.yml'
pull_request:
branches:
- '**'
tags-ignore:
- '*.*'
paths:
- 'src/ODatalizer/**'
- 'src/ODatalizer.EFCore/**'
- 'src/ODatalizer.EFCore.Tests/**'
- 'src/ODatalizer.EFCore.sln'
- '.github/workflows/test.yml'
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Clean
working-directory: ./src/
run: dotnet clean ODatalizer.EFCore.sln --configuration Release && dotnet nuget locals all --clear
- name: Run all tests
working-directory: ./src/
run: dotnet test ODatalizer.EFCore.sln
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Run all tests
working-directory: ./src/
run: dotnet test ODatalizer.EFCore.sln