66 - workflow_dispatch
77
88jobs :
9- Linux :
10- runs-on : ubuntu-24.04
11- steps :
12- - name : Checkout
13- uses : actions/checkout@v5
14- with :
15- fetch-depth : 0 # needed for Nerdbank.GitVersioning
16-
17- - name : Setup .NET
18- uses : actions/setup-dotnet@v4
19-
20- - name : Build Unit Tests .NET
21- run : dotnet build -f net9.0 test/Renci.SshNet.Tests/
22-
23- - name : Build IntegrationTests .NET
24- run : dotnet build -f net9.0 test/Renci.SshNet.IntegrationTests/
25-
26- - name : Run Unit Tests .NET
27- run : |
28- dotnet test \
29- -f net9.0 \
30- --no-build \
31- --logger "console;verbosity=normal" \
32- --logger GitHubActions \
33- -p:CollectCoverage=true \
34- -p:CoverletOutputFormat=cobertura \
35- -p:CoverletOutput=../../coverlet/linux_unit_test_net_9_coverage.xml \
36- test/Renci.SshNet.Tests/
37-
38- - name : Run Integration Tests .NET
39- run : |
40- dotnet test \
41- -f net9.0 \
42- --no-build \
43- --logger "console;verbosity=normal" \
44- --logger GitHubActions \
45- -p:CollectCoverage=true \
46- -p:CoverletOutputFormat=cobertura \
47- -p:CoverletOutput=../../coverlet/linux_integration_test_net_9_coverage.xml \
48- test/Renci.SshNet.IntegrationTests/
49-
50- - name : Archive Coverlet Results
51- uses : actions/upload-artifact@v4
52- with :
53- name : Coverlet Results Linux
54- path : coverlet
55-
56- Windows :
57- runs-on : windows-2025
58- steps :
59- - name : Checkout
60- uses : actions/checkout@v5
61- with :
62- fetch-depth : 0 # needed for Nerdbank.GitVersioning
63-
64- - name : Setup .NET
65- uses : actions/setup-dotnet@v4
66-
67- - name : Build Solution
68- run : dotnet build Renci.SshNet.sln
69-
70- - name : Publish AOT Compatibility Test App
71- run : dotnet publish -r win-x64 /warnaserror test/Renci.SshNet.AotCompatibilityTestApp/
72-
73- - name : Create NuGet Package
74- run : dotnet pack
75-
76- - name : Archive NuGet Package
77- uses : actions/upload-artifact@v4
78- with :
79- name : NuGet Package
80- path : src/Renci.SshNet/bin/Release/*.*nupkg
81-
82- - name : Run Unit Tests .NET
83- run : |
84- dotnet test `
85- -f net9.0 `
86- --no-build `
87- --logger "console;verbosity=normal" `
88- --logger GitHubActions `
89- -p:CollectCoverage=true `
90- -p:CoverletOutputFormat=cobertura `
91- -p:CoverletOutput=../../coverlet/windows_unit_test_net_9_coverage.xml `
92- test/Renci.SshNet.Tests/
93-
94- - name : Run Unit Tests .NET Framework
95- run : |
96- dotnet test `
97- -f net462 `
98- --no-build `
99- --logger "console;verbosity=normal" `
100- --logger GitHubActions `
101- -p:CollectCoverage=true `
102- -p:CoverletOutputFormat=cobertura `
103- -p:CoverletOutput=../../coverlet/windows_unit_test_net_4_6_2_coverage.xml `
104- test/Renci.SshNet.Tests/
9+ # Linux:
10+ # runs-on: ubuntu-24.04
11+ # steps:
12+ # - name: Checkout
13+ # uses: actions/checkout@v5
14+ # with:
15+ # fetch-depth: 0 # needed for Nerdbank.GitVersioning
16+
17+ # - name: Setup .NET
18+ # uses: actions/setup-dotnet@v4
19+
20+ # - name: Build Unit Tests .NET
21+ # run: dotnet build -f net9.0 test/Renci.SshNet.Tests/
22+
23+ # - name: Build IntegrationTests .NET
24+ # run: dotnet build -f net9.0 test/Renci.SshNet.IntegrationTests/
25+
26+ # - name: Run Unit Tests .NET
27+ # run: |
28+ # dotnet test \
29+ # -f net9.0 \
30+ # --no-build \
31+ # --logger "console;verbosity=normal" \
32+ # --logger GitHubActions \
33+ # -p:CollectCoverage=true \
34+ # -p:CoverletOutputFormat=cobertura \
35+ # -p:CoverletOutput=../../coverlet/linux_unit_test_net_9_coverage.xml \
36+ # test/Renci.SshNet.Tests/
37+
38+ # - name: Run Integration Tests .NET
39+ # run: |
40+ # dotnet test \
41+ # -f net9.0 \
42+ # --no-build \
43+ # --logger "console;verbosity=normal" \
44+ # --logger GitHubActions \
45+ # -p:CollectCoverage=true \
46+ # -p:CoverletOutputFormat=cobertura \
47+ # -p:CoverletOutput=../../coverlet/linux_integration_test_net_9_coverage.xml \
48+ # test/Renci.SshNet.IntegrationTests/
49+
50+ # - name: Archive Coverlet Results
51+ # uses: actions/upload-artifact@v4
52+ # with:
53+ # name: Coverlet Results Linux
54+ # path: coverlet
55+
56+ # Windows:
57+ # runs-on: windows-2025
58+ # steps:
59+ # - name: Checkout
60+ # uses: actions/checkout@v5
61+ # with:
62+ # fetch-depth: 0 # needed for Nerdbank.GitVersioning
63+
64+ # - name: Setup .NET
65+ # uses: actions/setup-dotnet@v4
66+
67+ # - name: Build Solution
68+ # run: dotnet build Renci.SshNet.sln
69+
70+ # - name: Publish AOT Compatibility Test App
71+ # run: dotnet publish -r win-x64 /warnaserror test/Renci.SshNet.AotCompatibilityTestApp/
72+
73+ # - name: Create NuGet Package
74+ # run: dotnet pack
75+
76+ # - name: Archive NuGet Package
77+ # uses: actions/upload-artifact@v4
78+ # with:
79+ # name: NuGet Package
80+ # path: src/Renci.SshNet/bin/Release/*.*nupkg
81+
82+ # - name: Run Unit Tests .NET
83+ # run: |
84+ # dotnet test `
85+ # -f net9.0 `
86+ # --no-build `
87+ # --logger "console;verbosity=normal" `
88+ # --logger GitHubActions `
89+ # -p:CollectCoverage=true `
90+ # -p:CoverletOutputFormat=cobertura `
91+ # -p:CoverletOutput=../../coverlet/windows_unit_test_net_9_coverage.xml `
92+ # test/Renci.SshNet.Tests/
93+
94+ # - name: Run Unit Tests .NET Framework
95+ # run: |
96+ # dotnet test `
97+ # -f net462 `
98+ # --no-build `
99+ # --logger "console;verbosity=normal" `
100+ # --logger GitHubActions `
101+ # -p:CollectCoverage=true `
102+ # -p:CoverletOutputFormat=cobertura `
103+ # -p:CoverletOutput=../../coverlet/windows_unit_test_net_4_6_2_coverage.xml `
104+ # test/Renci.SshNet.Tests/
105105
106106 Windows-Integration-Tests :
107107 name : Windows Integration Tests
@@ -132,8 +132,9 @@ jobs:
132132 run :
133133 dotnet test `
134134 -f net48 `
135- --logger "console;verbosity=normal " `
135+ --logger "console;verbosity=detailed " `
136136 --logger GitHubActions `
137+ --filter "Name~Common_CreateMoreChannelsThanMaxSessions" `
137138 -p:CollectCoverage=true `
138139 -p:CoverletOutputFormat=cobertura `
139140 -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage.xml `
@@ -143,8 +144,9 @@ jobs:
143144 run :
144145 dotnet test `
145146 -f net9.0 `
146- --logger "console;verbosity=normal " `
147+ --logger "console;verbosity=detailed " `
147148 --logger GitHubActions `
149+ --filter "Name~Common_CreateMoreChannelsThanMaxSessions" `
148150 -p:CollectCoverage=true `
149151 -p:CoverletOutputFormat=cobertura `
150152 -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_9_coverage.xml `
0 commit comments