We have recently moved our build stack to M1 machines and that has resulted in getting the following error upon “flutter test” step being run:
Could not find a file named “pubspec.yaml” in "/Users/vagrant/.pub-cache/hosted/pub.dev/junitreport-2.0.2
This can be solved by adding the package to our codebase, which is not something we want to do considering it’s 18 months old and causes issues with its outdated dependencies when building against the more recent versions of Flutter.
Any suggestions on how to solve this (or how to disable the reporting functionality as a whole without removing the test step) would be much appreciated.