From c0a32327194c9c802d457c5c95a49f65b11ba813 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Sun, 23 Jul 2023 14:46:15 -0600 Subject: [PATCH] chore: update CI --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..03970437 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + tests: + strategy: + matrix: + dotnet: [6.0, 7.0] + 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: ${{ matrix.dotnet }} + - name: test Finbuckle.MultiTenant + run: dotnet test -f net${{ matrix.dotnet }} + working-directory: ./test/Finbuckle.MultiTenant.Test + - name: test Finbuckle.MultiTenant.AspNetCore + run: dotnet test -f net${{ matrix.dotnet }} + working-directory: ./test/Finbuckle.MultiTenant.AspNetCore.Test + - name: test Finbuckle.MultiTenant.EntityFrameworkCore + run: dotnet test -f net${{ matrix.dotnet }} + working-directory: ./test/Finbuckle.MultiTenant.EntityFrameworkCore.Test +