Skip to content

Commit

Permalink
update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiAndreiev committed Nov 18, 2024
1 parent 79a089c commit f24da51
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
integration_dotnet_metrics_v6.0:
build:
context: .
dockerfile: ./test/integrations/dotnet/v6.0.Dockerfile
dockerfile: ./test/integrations/dotnet/v8.0.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
Expand All @@ -30,7 +30,7 @@ services:
integration_dotnet_webhooks_v6.0:
build:
context: .
dockerfile: ./test/integrations/dotnet/v6.0-webhooks.Dockerfile
dockerfile: ./test/integrations/dotnet/v8.0-webhooks.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
Expand Down
2 changes: 1 addition & 1 deletion packages/dotnet/examples/net6.0/net6.0.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</ItemGroup>

<PropertyGroup>
<TargetFramework>net6.0;net8.0</TargetFramework>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>net6._0</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:8.0

ADD packages/dotnet /src

WORKDIR /src/examples/net6.0-webhook
RUN dotnet publish -o out
RUN dotnet publish -o out -f net8.0

ENV DOTNET_CLI_TELEMETRY_OPTOUT=true

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:8.0

ADD packages/dotnet /src

WORKDIR /src/examples/net6.0
RUN dotnet publish -o out
RUN dotnet publish -o out -f net8.0

ENV DOTNET_CLI_TELEMETRY_OPTOUT=true

Expand Down

0 comments on commit f24da51

Please sign in to comment.