-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Using Flutter within other GitHub Action does not work #320
Comments
It seems like the In order to debug, you may run: |
Thanks for the quick answer.
Which indicates for me, that everything is fine. The exact same output is printed after the Sonarqube Action when running it with continue-on-error: true. This is my new yml file:
|
I found out that the sonarqube Github Action is running within a container. |
Hello there,
I am trying to set up the GitHub Action pipeline to check our codebase through flutter test with coverage and flutter analyze.
Within the Workflow I want to use SonarQube. I have installed the SonarQube Flutter Plugin.
My yml file looks like the following:
During the SonarQube execution a get an error, saying that command flutter cannot be found:
org.buildobjects.process.StartupException: Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos'.
...
Caused by: java.io.IOException: Cannot run program "flutter" (in directory "/github/workspace"): error=2, No such file or directory
It seems that the command flutter is not installed as it would be installed if I am running the installation on a native server.
My question is, is there anything I can do to make the flutter command available to SonarQube using this action?
Thanks in advance!
The text was updated successfully, but these errors were encountered: