-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for multiple full paths on macos (#2276)
We cannot look up multiple basename commands in the system path and the current `macOsExecutable` configuration may have existing uses in `dart_test.yaml` files so it isn't safe to require full paths. Add a separate `macOsAbsolutePaths` configuration to enable internal definitions that check multiple full paths and execute the first one that exists. Add the basename `firefox` as a fallback. Adding that command to the path is one workaround for users with firefox installed in an unexpected location. This is also the only approach that is compatible with mac on GitHub actions using the `setup-firefox` action. There is no support here for `dart_test.yaml`. Users that are configuring an executable for macOS will continue to have support for only a single value, even if they are specifying an absolute path. Tests remain skipped because our mono repo setup does not have a way to include the `setup-firefox` action. --------- Co-authored-by: Jacob MacDonald <jakemac@google.com>
- Loading branch information
Showing
3 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters