Skip to content

fix: only throw exception in EnforceMultiTenant for null tenant if th… #163

fix: only throw exception in EnforceMultiTenant for null tenant if th…

fix: only throw exception in EnforceMultiTenant for null tenant if th… #163

Workflow file for this run

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