Skip to content

Commit 8209e1a

Browse files
committed
Run Windows Integration Tests in separate job
so publish doesn't depend on it
1 parent bd77900 commit 8209e1a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,20 @@ jobs:
107107
-p:CoverletOutput=../../coverlet/windows_unit_test_net_4_6_2_coverage.xml `
108108
test/Renci.SshNet.Tests/
109109
110+
Windows-Integration-Tests:
111+
name: Windows Integration Tests
112+
runs-on: windows-2025
113+
steps:
114+
- name: Checkout
115+
uses: actions/checkout@v4
116+
with:
117+
fetch-depth: 0 # needed for Nerdbank.GitVersioning
118+
119+
- name: Setup .NET
120+
uses: actions/setup-dotnet@v4
121+
with:
122+
dotnet-version: 9.0.x
123+
110124
- name: Setup WSL2
111125
uses: Vampire/setup-wsl@v5
112126
with:
@@ -124,7 +138,6 @@ jobs:
124138
run:
125139
dotnet test `
126140
-f net48 `
127-
--no-build `
128141
--logger "console;verbosity=normal" `
129142
--logger GitHubActions `
130143
-p:CollectCoverage=true `

0 commit comments

Comments
 (0)