Skip to content

Commit 594d5f2

Browse files
authored
feat: include net7 in the test suit (#97)
Since .net 7 was released this week, we should also run our test suite across it Signed-off-by: Benjamin Evenson <[email protected]>
1 parent 1612dc4 commit 594d5f2

File tree

6 files changed

+26
-7
lines changed

6 files changed

+26
-7
lines changed

.github/workflows/code-coverage.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
version: [net6.0]
19+
version: [net7.0]
2020

2121
env:
2222
OS: ${{ matrix.os }}
@@ -26,6 +26,11 @@ jobs:
2626
with:
2727
fetch-depth: 0
2828

29+
- name: Setup .NET Core 7.0.x
30+
uses: actions/setup-dotnet@v3
31+
with:
32+
dotnet-version: '7.0.x'
33+
2934
- name: Install dependencies
3035
run: dotnet restore
3136

.github/workflows/dotnet-format.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Check out code
2121
uses: actions/checkout@v3
2222

23-
- name: Setup .NET Core 6.0
23+
- name: Setup .NET Core 7.0
2424
uses: actions/setup-dotnet@v3
2525
with:
26-
dotnet-version: 6.0.x
26+
dotnet-version: 7.0.x
2727

2828
- name: Install format tool
2929
run: dotnet tool install -g dotnet-format

.github/workflows/linux-ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,20 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
version: [net6.0]
19+
version: [net6.0,net7.0]
2020

2121
steps:
2222
- uses: actions/checkout@v3
2323
with:
2424
fetch-depth: 0
2525

26+
- name: Setup .NET Core 6.0.x, 7.0.x
27+
uses: actions/setup-dotnet@v3
28+
with:
29+
dotnet-version: |
30+
6.0.x
31+
7.0.x
32+
2633
- name: Install dependencies
2734
run: dotnet restore
2835

.github/workflows/windows-ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,20 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
version: [net462,net6.0]
19+
version: [net462,net6.0,net7.0]
2020

2121
steps:
2222
- uses: actions/checkout@v3
2323
with:
2424
fetch-depth: 0
2525

26+
- name: Setup .NET Core 6.0.x, 7.0.x
27+
uses: actions/setup-dotnet@v3
28+
with:
29+
dotnet-version: |
30+
6.0.x
31+
7.0.x
32+
2633
- name: Install dependencies
2734
run: dotnet restore
2835

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
33
"rollForward": "latestFeature",
4-
"version": "6.0.402"
4+
"version": "7.0.100"
55
}
66
}

test/OpenFeature.Tests/OpenFeature.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
55
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);net462</TargetFrameworks>
66
<RootNamespace>OpenFeature.Tests</RootNamespace>
77
</PropertyGroup>

0 commit comments

Comments
 (0)