Skip to content

temp

temp #72

Workflow file for this run

name: Build
on:
- push
- pull_request
- workflow_dispatch
jobs:
Windows:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Setup WSL2
uses: vedantmgoyal9/setup-wsl2@main
- name: Setup SSH Server
run: |
apt update && apt upgrade -y
apt-get install -y podman
podman build -t sshnettestserver -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/
podman run -d -p 2222:22 --name sshnettestserver sshnettestserver
shell: wsl-run {0}
- name: Run Integration Tests .NET Framework
run:
dotnet test `
-f net48 `
--logger "console;verbosity=normal" `
--logger GitHubActions `
-p:CollectCoverage=true `
-p:CoverletOutputFormat=cobertura `
-p:CoverletOutput=..\..\coverlet\windows_integration_test_net_48_coverage.xml `
test\Renci.SshNet.IntegrationTests\