-
-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test integration tests #1250
Test integration tests #1250
Conversation
Maybe take this change to limit parallel appveyor runs:
|
@drieseng I need admin permissions to Appveyor. I've run tests locally in this way and generated a test coverage |
Co-authored-by: Rob Hague <rob.hague00@gmail.com>
Co-authored-by: Rob Hague <rob.hague00@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can run dotnet new gitignore
to get a better .gitignore file
appveyor.yml
Outdated
@@ -21,16 +21,16 @@ for: | |||
|
|||
build_script: | |||
- echo build | |||
#- dotnet build Renci.SshNet.sln -c Debug -f net7.0 | |||
- dotnet build Renci.SshNet.sln -c Debug -f net7.0 | |||
|
|||
test_script: | |||
- sh: echo "Run unit tests" | |||
# - sudo tcpdump -i docker0 -w artifacts/tcpdump.pcap -U & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to delete all the commented-out stuff
@Rob-Hague @drieseng Is ready to review. It works:
The Zip result: SummarySummary
CoverageRenci.SshNet - 64%
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome
I've downloaded coverage reports and I've merged them using the following command:
Could we do this on appveyor and publish the html report in the artifacts? Not necessarily in this PR
...nci.SshNet.Tests/Classes/Connection/DirectConnectorTest_Connect_TimeoutConnectingToServer.cs
Outdated
Show resolved
Hide resolved
…_Connect_TimeoutConnectingToServer.cs Co-authored-by: Rob Hague <rob.hague00@gmail.com>
| Could we do this on appveyor and publish the html report in the artifacts? Not necessarily in this PR Yes. But artifacts come from different jobs so we have to create a next one at the end that will collect artifacts and calculate reports. This is for next PR. |
…echNagorski/SSH.NET into integration-tests-appveyor
How about upload the coverage report to codecov? Then a code coverage badge can be added to the repo's readme page. The badge is a hyper link to codecov website with coverage info and can drill down to details. |
@Rob-Hague can you take a look? It's finished and stable. |
I drafted a PR for codecov integration: #1257 |
The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1 |
No description provided.