Skip to content

Commit

Permalink
Update Npgsql test to use .NET 8
Browse files Browse the repository at this point in the history
It is needed for using Npgsql 8, because .NET 6 is no longer supported.
  • Loading branch information
amotl committed Jan 9, 2024
1 parent 19b3e6f commit a764754
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/client_tests/stock_npgsql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:8.0

RUN \
apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion tests/client_tests/stock_npgsql/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -Eeuo pipefail

dotnet build
cr8 run-crate latest-nightly \
-- @$(pwd)/bin/Debug/net6.0/stock_npgsql {node.addresses.psql.host} {node.addresses.psql.port}
-- @$(pwd)/bin/Debug/net8.0/stock_npgsql {node.addresses.psql.host} {node.addresses.psql.port}
2 changes: 1 addition & 1 deletion tests/client_tests/stock_npgsql/stock_npgsql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit a764754

Please sign in to comment.