-
Notifications
You must be signed in to change notification settings - Fork 44
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
Slow #439
Comments
1 minute seems pretty arbitrary to me, but there are a few options.
Take a look at Also,
It's certainly not optimal, but you don't need to install a ROS distro with |
Yes 1 minute is definitely arbitrary - was just filling out the “completion criteria” field. But it’s probably a reasonable target to aim for (a few seconds or no step at all obviously being even better). Thanks for the suggestions, I will try them out and report back. I do think it’s important to make the default as fast as possible, because folks like me stumble across the action and implement it following the readme, and right now that results in a pretty slow CI experience. Re not passing a distro to setup-ros: how would action-ros-ci know which version of ros to install deps for them? |
Of course, the faster the better! I think a lot of users prefer going to Docker image route for speed, especially if their ROS 2 (core) dependencies are stable. Suggestions and PRs for improving the overall speed/experience/etc. are definitely welcome!
|
I don't know what changed, but this seems to typically run in around a minute for me now on rosbridge_suite (example). |
Could be a GitHub actions infrastructure change/improvement! |
It looks like this got faster when I removed I found that setting actually makes testing worse, because ros-desktop is installed so you don't catch if your project is missing any dependencies. I don't know what it's intended to be used for but it might be a good idea to remove it from the readme? |
If I'm not mistaken, it's needed for Windows and macOS, because there's no other way to install ROS 2 (or exact ROS 2 dependencies) on those platforms. It's also needed if you just want to install ROS 1/2 without necessarily also using But, when also using |
Description
This action is very slow, it often takes 3-4 minutes to run (example). Have you considered or tried simply running
action-ros-ci
inside aros:*-ros-core
container? Is that a supported workflow? (at least on Linux, I don't think Github Actions supports Windows containers yet).Alternatively, I notice this action installs
ros-distrib-desktop
. Is that a necessary default? I would have though that most libraries could get away with installing onlycore
orbase
to run CI.Completion Criteria
I think it would be nice if this action could run in under 1 minute, or be bypassed entirely on linux if the container path is feasible.
Implementation Notes / Suggestions
See above
The text was updated successfully, but these errors were encountered: