Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob-Hague committed Dec 9, 2024
1 parent ee054f4 commit 2e4aa96
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,29 @@ jobs:
- name: Build IntegrationTests .NET Framework
run: dotnet build -f net48 test/Renci.SshNet.IntegrationTests/

- name: Run Unit Tests .NET
run: |
dotnet test \
-f net9.0 \
--no-build \
--logger "console;verbosity=normal" \
--logger GitHubActions \
-p:CollectCoverage=true \
-p:CoverletOutputFormat=cobertura \
-p:CoverletOutput=../../coverlet/linux_unit_test_net_9_coverage.xml \
test/Renci.SshNet.Tests/
# - name: Run Unit Tests .NET
# run: |
# dotnet test \
# -f net9.0 \
# --no-build \
# --logger "console;verbosity=normal" \
# --logger GitHubActions \
# -p:CollectCoverage=true \
# -p:CoverletOutputFormat=cobertura \
# -p:CoverletOutput=../../coverlet/linux_unit_test_net_9_coverage.xml \
# test/Renci.SshNet.Tests/

- name: Run Integration Tests .NET
run: |
dotnet test \
-f net9.0 \
--no-build \
--logger "console;verbosity=normal" \
--logger "console;verbosity=detailed" \
--logger GitHubActions \
-p:CollectCoverage=true \
-p:CoverletOutputFormat=cobertura \
-p:CoverletOutput=../../coverlet/linux_integration_test_net_9_coverage.xml \
--filter "Name~Common_DisposeAfterLossOfNetworkConnectivity" \
test/Renci.SshNet.IntegrationTests/
# Also run a subset of the integration tests targeting netfx using mono. This is a temporary measure to get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ private InfrastructureFixture()
_loggerFactory = LoggerFactory.Create(builder =>
{
builder.SetMinimumLevel(LogLevel.Debug);
builder.AddFilter("testcontainers", LogLevel.Information);
builder.AddFilter("testcontainers", LogLevel.Debug);
builder.AddConsole();
});

Expand Down

0 comments on commit 2e4aa96

Please sign in to comment.