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
C#: Also run extractor unit tests on a windows runner. #14333
C#: Also run extractor unit tests on a windows runner. #14333
Conversation
ff2cb25
to
7544eb2
Compare
.github/workflows/csharp-qltest.yml
Outdated
| run: | | ||
| dotnet test -p:RuntimeFrameworkVersion=7.0.2 extractor/Semmle.Util.Tests | ||
| dotnet test -p:RuntimeFrameworkVersion=7.0.2 extractor/Semmle.Extraction.Tests | ||
| dotnet test -p:RuntimeFrameworkVersion=7.0.2 autobuilder/Semmle.Autobuild.CSharp.Tests | ||
| dotnet test -p:RuntimeFrameworkVersion=7.0.2 "${{ github.workspace }}/cpp/autobuilder/Semmle.Autobuild.Cpp.Tests" | ||
| unit-tests-windows: |
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.
I think you may be able to use a matrix (containing ubuntu-latest and windows-2019) to reduce duplication.
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.
Yes, that is a good idea (TIL). My skills for defining workflows are limited. As far as google informs me the default shell for all other types of runner than windows runners is bash, so setting the default to bash for non-windows test executions should also be fine.
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.
Rewrite looks great!
4fb5cf9
to
88c43dd
Compare
9c6c91d
to
c25113a
Compare
In this PR we