-
Notifications
You must be signed in to change notification settings - Fork 43
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
wait for ros binaries before returning #245
Conversation
Signed-off-by: Evan Flynn <[email protected]>
I was wondering why the tests didn't catch this, so I took a look. Weirdly enough, it seemed to work fine in a previous test 😅 https://github.com/ros-tooling/setup-ros/runs/942469149#step:5:374 I don't know a lot about async or JS/TS, but maybe it's about timing? Could you try this branch with your own repo and see if it actually works? Like |
running now on grbl_ros. it shouldnt matter, but I also put it for the linux ci tests just to make sure nothing funky goes on there |
it looks like this change successfully does what its trying to do - download the ros2 binaries for windows. but it looks like later on there are still failures...maybe from not sourcing the ros2 install? |
🎊
Only one way to find out 😁 can you try this branch with ros-tooling/action-ros-ci#306 in your repo? |
re-running because it looks like a failure on one of the mac runs caused all windows/mac runs to be canceled. it looks like for mac there is the same issue....only stops at |
I don't think the action even tries to install binaries on Mac: https://github.com/ros-tooling/setup-ros/blob/1a56282ce2ee5651bf97ad6229b5fa2260773b16/src/setup-ros-osx.ts. Ohh wait, binary install isn't yet supported on OS X: #107 |
So maybe try to remove the MacOS part for now? This way we can continue with the Windows stuff. |
i think this PR is OK - it does what is expected and downloads the ROS2 binaries. there are more issues with action-ros-ci i think - looks like the "isWindows" doesnt actually return true if its windows because the windows commands are still being run with "bash". |
Definitely!
By default it doesn't show you the actual command. If you click on a command ("Invoking ...") it'll show the full command, which seems to be fine, e.g.:
|
Are you actually seeing changed behavior on your test runs against this branch? My understanding is that the action runner runs
Should give you the outputs you need |
oh, right. Maybe it's just luck/timing then? I assume it should be fine, since
first one stops at |
Description