-
-
Notifications
You must be signed in to change notification settings - Fork 269
32 lines (29 loc) · 1.01 KB
/
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
name: CI Workflow
on:
push:
branches: [main]
pull_request:
jobs:
build-and-test:
strategy:
matrix:
dotnet: ['6.0.x', '7.0.x', '8.0.x']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repo
uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: build
run: dotnet build
- name: test Finbuckle.MultiTenant
run: dotnet test --no-build -v q -f net${{ matrix.dotnet }}
working-directory: ./test/Finbuckle.MultiTenant.Test
- name: test Finbuckle.MultiTenant.AspNetCore
run: dotnet test --no-build -v q -f net${{ matrix.dotnet }}
working-directory: ./test/Finbuckle.MultiTenant.AspNetCore.Test
- name: test Finbuckle.MultiTenant.EntityFrameworkCore
run: dotnet test --no-build -v q -f net${{ matrix.dotnet }}
working-directory: ./test/Finbuckle.MultiTenant.EntityFrameworkCore.Test