Skip to content

Commit

Permalink
Update test project configuration so that tests can run
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Nov 16, 2023
1 parent b5b7413 commit 2847139
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
with:
submodules: recursive
- name: Setup .Net
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet }}
dotnet-version: |
${{ matrix.dotnet }}
7.0.x
- name: Project Build
run: dotnet build --configuration Release
- name: Project Test
run: dotnet test --configuration Release --no-build --no-restore --verbosity normal --framework ${{ matrix.dotnet }}
run: dotnet test --configuration Release --no-build --no-restore --verbosity normal --framework net7.0
3 changes: 2 additions & 1 deletion Amazon.IonDotnet.Tests/Amazon.IonDotnet.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
<IsTestProject>true</IsTestProject>
<TargetFramework>net7.0</TargetFramework>
<IsPackable>false</IsPackable>
<LangVersion>latest</LangVersion>
<Configurations>Debug;Release;Perf</Configurations>
Expand Down

0 comments on commit 2847139

Please sign in to comment.