Skip to content

Commit

Permalink
[Bump] tests to net8.0
Browse files Browse the repository at this point in the history
[Update] GitHub Actions to net8.0 and install Set up JDK 17 to support SonarQube
  • Loading branch information
samatrhea committed Dec 7, 2023
1 parent 573dff7 commit 61aca2c
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 11 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/CodeQuality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
overwrite-settings: false
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'

- name: add DevExpress nuget feed
run: dotnet nuget add source https://nuget.devexpress.com/api -n DXFeed -u DevExpress -p ${{ secrets.DEVEXPRESS_NUGET_KEY }} --store-password-in-clear-text
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup .NET Environment
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: add DevExpress nuget feed
run: dotnet nuget add source https://nuget.devexpress.com/api -n DXFeed -u DevExpress -p ${{ secrets.DEVEXPRESS_NUGET_KEY }} --store-password-in-clear-text
Expand Down
8 changes: 7 additions & 1 deletion CDP4-SDK.sln
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CDP4Reporting.Tests", "CDP4
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CDP4MessagePackSerializer", "CDP4MessagePackSerializer\CDP4MessagePackSerializer.csproj", "{231DC960-B227-46CA-B345-E9C4B7CFBC01}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CDP4MessagePackSerializer.Tests", "CDP4MessagePackSerializer.Tests\CDP4MessagePackSerializer.Tests.csproj", "{CBECE184-A79F-4D71-82F6-3DA29FF9E048}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CDP4MessagePackSerializer.Tests", "CDP4MessagePackSerializer.Tests\CDP4MessagePackSerializer.Tests.csproj", "{CBECE184-A79F-4D71-82F6-3DA29FF9E048}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Github Actions", "Github Actions", "{A51D9FCE-BFF3-4428-B538-B6A45B3A5401}"
ProjectSection(SolutionItems) = preProject
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
.github\workflows\CodeQuality.yml = .github\workflows\CodeQuality.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
2 changes: 1 addition & 1 deletion CDP4Common.NetCore.Tests/CDP4Common.NetCore.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4Common netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion CDP4Dal.NetCore.Tests/CDP4Dal.NetCore.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4Dal netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4JsonSerializer netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4JsonSerializer netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4RequirementsVerification netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion CDP4Rules.NetCore.Tests/CDP4Rules.NetCore.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4Rules netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4ServicesDal netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion CDP4WspDal.NetCore.Tests/CDP4WspDal.NetCore.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Company>RHEA System S.A.</Company>
<Description>CDP4WspDal netcore unit tests</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
Expand Down

0 comments on commit 61aca2c

Please sign in to comment.