Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/formatting-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
max-parallel: 4
matrix:
working-directory: ["Flagsmith.EngineTest","Flagsmith.Client.Test"]
dotnet-version: ["6.x", "7.x", "8.x", "9.x", "10.x"]
dotnet-version: ["6.0", "7.0", "8.0", "9.0", "10.0"]

steps:
- name: Cloning repo
Expand All @@ -52,17 +52,10 @@ jobs:
run: make clone-engine-test-data

- name: Set up Dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
${{ matrix.dotnet-version }}
dotnet-version: ${{ matrix.dotnet-version }}.x

- name: Run Tests
# bafflingly adding the below debugging echo / version statements got the workflow to pass
run: |
echo "Dotnet version: "
dotnet --version
echo "-------"
dotnet test
run: dotnet test --framework net${{ matrix.dotnet-version }}
working-directory: ${{ matrix.working-directory }}
2 changes: 1 addition & 1 deletion Flagsmith.Client.Test/ClientTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Flagsmith.EngineTest/EngineTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>

<IsPackable>false</IsPackable>

Expand Down
Loading