-
Notifications
You must be signed in to change notification settings - Fork 7
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 make dart pub global run firehose --validate
work with nested projects requiring a pub get
?
#150
Comments
Possible fix: make |
Ignoring the folders with analyzer:
exclude:
# TODO(https://github.com/dart-lang/ecosystem/issues/150): Remove this.
- test/data/ |
A workaround would be if we could somehow configure a set of paths to run |
The root cause is likely in pub, not in this package: |
We could disable all pub validation ( |
I can see some other solutions:
|
That's unpractical when test projects get somewhat complicated, you want the actual test projects to exist and be valid projects. We could have them as strings, or have a non Either skipping validation or having a custom command would work. For the custom command, we would need to somehow pipe that through from the ci.yaml via firehose. As Devon said, we already do analysis on the CI, so skipping analysis seems like the better option. |
The
dart analyze
step fails becausepub get
is not run in any subfolders.Full log: https://github.com/dart-lang/native/actions/runs/5795237048/job/15706409172?pr=115
The text was updated successfully, but these errors were encountered: