personalrobotics / aikido

Artificial Intelligence for Kinematics, Dynamics, and Optimization
https://personalrobotics.github.io/aikido/
BSD 3-Clause "New" or "Revised" License
213 stars 30 forks source link

Migrate Aikido to Github Actions #598

Closed egordon closed 3 years ago

egordon commented 3 years ago

Responding to Issue #597 .

This should run the exact same jobs as Travis but on Github Actions instead.

Before creating a pull request

Before merging a pull request

egordon commented 3 years ago

I'm explicitly minimizing the change between these tests and the Travis tests.

However, the AIKIDOPY seems to fail to build because of the WorldInteractiveMarker issue from #521 , but only when building with Catkin... hmm

Should probably investigate that.

egordon commented 3 years ago

Will create another PR based on the branch egordon/rviz-world after this is pushed.

This will fix the final broken check issue.

egordon commented 3 years ago

Issue with Bionic (unclear how we got around this in Travis). Tests are passing, but reporting as failure due to a segfault that happens during cleanup afterwards.

This is due to a mis-match between liboctomap-dev in bionic (version 1.8) and ros-melodic-octomap (version 1.9). I am not sure why catkin seems to get these two version confused.

That said, since both PRL and ICAROS are now updated to focal, we should switch these tests to be focal-centric.

Therefore, this PR now depends on https://github.com/personalrobotics/pr-cleanroom/pull/26

egordon commented 3 years ago

TODO: Once https://github.com/personalrobotics/pr-rosinstalls/pull/60 merges

DISTRIBUTION secret (not actually a secret) needs to be changed back to https://raw.githubusercontent.com/personalrobotics/pr-rosinstalls/master/repositories.yml

egordon commented 3 years ago

Pushed and updated, so ready for review!

sniyaz commented 3 years ago

So I've read through and (from what little I understand of GH actions) this seems sane.

One question though- I see we have one test failing currently. Do you know why? I think it's important to fix that before merging.

sniyaz commented 3 years ago

So I've read through and (from what little I understand of GH actions) this seems sane.

One question though- I see we have one test failing currently. Do you know why? I think it's important to fix that before merging.

Ah, ignore me- I just saw your other PR https://github.com/personalrobotics/aikido/pull/599.

In that case this seems fine- the only feedback is that it would nice to document somewhere how this all works (or even just link to some good documentation from our wiki). I always felt like I had to guess and check with Travis.

That's an issue we've always had, so I don't think it's fair to block this PR on that. Can we make an issue to add this documentation though?

egordon commented 3 years ago

New wiki page created: https://github.com/personalrobotics/pr_docs/wiki/Continuous-Integration-and-Branch-Setup