Remove matrix for .NET versions
Some checks failed
CI / build-and-test (12) (push) Failing after 1m48s
CI / build-and-test (14) (push) Has been cancelled
CI / build-and-test (15) (push) Has been cancelled
CI / build-and-test (latest) (push) Has been cancelled
CI / publish (push) Has been cancelled
CI / build-and-test (13) (push) Has been cancelled
Some checks failed
CI / build-and-test (12) (push) Failing after 1m48s
CI / build-and-test (14) (push) Has been cancelled
CI / build-and-test (15) (push) Has been cancelled
CI / build-and-test (latest) (push) Has been cancelled
CI / publish (push) Has been cancelled
CI / build-and-test (13) (push) Has been cancelled
This commit is contained in:
parent
b96775f1ed
commit
caf34e707c
|
@ -13,7 +13,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
dotnet-version: [ "6.0", "7.0", "8.0" ]
|
||||
postgres-version: [ "12", "13", "14", "15", "latest" ]
|
||||
|
||||
services:
|
||||
|
@ -36,17 +35,20 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup .NET ${{ matrix.dotnet-version }}.x
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: ${{ matrix.dotnet-version }}.x
|
||||
#- name: Restore dependencies
|
||||
# run: dotnet restore src/BitBadger.Documents.sln
|
||||
dotnet-version: "8.0.x"
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore src/BitBadger.Documents.sln
|
||||
- name: Build
|
||||
# run: dotnet build src/BitBadger.Documents.sln --no-restore -f net${{ matrix.dotnet-version }}
|
||||
run: dotnet build src/BitBadger.Documents.sln -f net${{ matrix.dotnet-version }}
|
||||
- name: Test ${{ matrix.dotnet-version }} against PostgreSQL ${{ matrix.postgres-version }}
|
||||
run: dotnet run --project src/Tests/BitBadger.Documents.Tests.fsproj -f net${{ matrix.dotnet-version }}
|
||||
run: dotnet build src/BitBadger.Documents.sln --no-restore
|
||||
- name: Test .NET 6 against PostgreSQL ${{ matrix.postgres-version }}
|
||||
run: dotnet run --project src/Tests/BitBadger.Documents.Tests.fsproj -f net6.0
|
||||
- name: Test .NET 7 against PostgreSQL ${{ matrix.postgres-version }}
|
||||
run: dotnet run --project src/Tests/BitBadger.Documents.Tests.fsproj -f net7.0
|
||||
- name: Test .NET 8 against PostgreSQL ${{ matrix.postgres-version }}
|
||||
run: dotnet run --project src/Tests/BitBadger.Documents.Tests.fsproj -f net8.0
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-and-test
|
||||
|
|
Loading…
Reference in New Issue
Block a user