-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to run two or more tests coverage tasks for a project with multiple modules in pipeline yml? #79
Comments
It should work with multiple tasks. There is no restriction of any sort that you can't add multiple Flutter test task. Remove quotes from Also you don't need If for some reason it doesn't work. You can run
|
no multiple test converage tasks are not working in same pipeline file. Also without quotes it is not working as well. |
What's the error you are getting? Post the logs and screenshot of the
build.
Also open this issue on Azure Pipelines GitHub as it seems to be related to
them.
…On Wed, May 24, 2023, 12:35 AM md99991234 ***@***.***> wrote:
no multiple test converage tasks are not working in same pipeline file.
Also without quotes it is not working as well.
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHQCT5XRTTPOA5AT3WZ2ZWTXHUC7JANCNFSM6AAAAAAYL3D7D4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
this is the error i am getting while using two or more flutter test tasks:
I have tried using two flutter command task also, it is giving same error. It seems multiple of same type of tasks are not running/allowed. Can you please help. |
@md99991234 multiple tasks are allowed. We have used them in our builds and it works normally. Also, many other people are doing what you are trying to do. So there is something else wrong with your configuration. Post your pipeline.yml file here. |
sure, please find the pipeline.yml below:
|
The issue is related to your YAML and not with this extension. Post your full yaml here, I can't help otherwise. Also refer to these links first
|
@md99991234 You can copy your YAML and paste it in https://yamlpipelinesvalidator.dev/ and click validate. It will tell you all the errors there are.
|
Hello, I have used task hey24sheep.flutter.flutter-test.FlutterTest@0 in the pipeline to run the tests and get coverage. But my question is if i have multiple modules in my project, and if i want to see their test coverage individually then how to have multiple tasks that will run test coverage with different projectDirectory or module directories ? it is currently not allowing multiple tasks for FlutterTest for different modules. I think it is allowing only single FlutterTest task in pipeline.yml for the whole project. Can you tell me how can I have multiple FlutterTest tasks in pipeline file?
Code example:
the above code doesnt work. Pipeline/Build doest work whenever we use multiple flutter test tasks.
The text was updated successfully, but these errors were encountered: