-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add support for azure function #280
Conversation
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 the example project would benefit from some more descriptive/representative naming.
like what? It is an AzureFunction project. I mean: what info is missing? |
@dupdob Thank you for contributing, we are evaluating the PR, I saw that it is related to a Stryker issue, we will try to finalize it as quickly as possible. |
{ | ||
public class TestFunction | ||
{ | ||
[FunctionName("Function1")] |
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.
[FunctionName("Function1")] | |
[FunctionName(nameof(TestFunction))] |
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.
Please update the example project.
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.
LGTM!
Description
This PR adds support for AzureFunctionProject
A simple integration test project is provided as well.
The logic change is: buildalyzer now keeps the first compilation step, disregarding its origin or the last compilation step when triggred by the main project file.
AzureFunction project triggers a compilation step from a temporary subproject to generate a dummy assembly (which purposes has not been identified) and which should not be reported.