Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:

- name: Test
#run: docker run --rm -v ${pwd}:/app -w /app --ipc=host mcr.microsoft.com/playwright/dotnet:v1.37.1-jammy dotnet test --no-build --verbosity normal --logger:trx
run: dotnet test --no-build --verbosity normal --logger:trx --results-directory "TestResults"
run: dotnet test --no-build --verbosity normal --logger:trx --results-directory "TestResults" -p:TestTfmsInParallel=false -p:ParallelizeTestCollections=false

- name: Upload dotnet test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dotnet-results
path: TestResults
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.200",
"version": "9.0.300",
"rollForward": "latestMinor",
"allowPrerelease": false
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
Expand All @@ -17,12 +17,14 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.36" Condition="'$(TargetFramework)'=='net6.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.20" Condition="'$(TargetFramework)'=='net7.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.15" Condition="'$(TargetFramework)'=='net8.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.4" Condition="'$(TargetFramework)'=='net9.0'" />
<PackageReference Include="Microsoft.Playwright" Version="1.51.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.16" Condition="'$(TargetFramework)'=='net8.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.5" Condition="'$(TargetFramework)'=='net9.0'" />
<PackageReference Include="Microsoft.Playwright" Version="1.52.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="6.0.11" Condition="'$(TargetFramework)'=='net6.0'" />
<PackageReference Include="System.Text.Json" Version="8.0.5" Condition="'$(TargetFramework)'=='net7.0' or '$(TargetFramework)'=='net8.0'" />
<PackageReference Include="System.Text.Json" Version="9.0.5" Condition="'$(TargetFramework)'=='net9.0'" />
</ItemGroup>
</Project>
4 changes: 3 additions & 1 deletion test/Sample.WebApp.Tests/InstallerTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using C3D.Extensions.Playwright.AspNetCore.Utilities;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit.Abstractions;

[assembly: CollectionBehavior(DisableTestParallelization = true)]

namespace Sample.WebApp.Tests;

public class InstallerTests
Expand Down
8 changes: 4 additions & 4 deletions test/Sample.WebApp.Tests/Sample.WebApp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -20,9 +20,9 @@
</ItemGroup>

<ItemGroup Label="Testing">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Loading