Skip to content
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

Update GitHub Actions workflow #301

Merged
merged 8 commits into from
Nov 27, 2024

Conversation

robwoolley
Copy link
Contributor

I saw that you asked for the CI workflow to be updated for #299

I did a quick run at making the necessary changes. The commits are clean however since I was working in the GHA workflow editor some commits failed and had to be corrected. (eg switching from nose to nose3 then to pynose) I am happy to rework the series if you feel it is necessary.

You may see the workflow test runs I did here: https://github.com/robwoolley/superflore/actions

This prevents trailing zeroes from being removed by making the
values strings not numbers.

Signed-off-by: Rob Woolley <[email protected]>
Use pynose for Python 3.11+ support

Signed-off-by: Rob Woolley <[email protected]>
Excluding tests for docker and for creating invalid directory paths.
These tests do not seem relevant to testing superflore in a
containerized CI/CD pipeline.

Signed-off-by: Rob Woolley <[email protected]>
Update the checkout and setup-python actions to the latest versions.

Remove Ubuntu 18.04 as a runner image as it has been deprecated by
GitHub Actions and no longer has runners available.

Signed-off-by: Rob Woolley <[email protected]>
These steps follow the installation instructions from the Rolling Ridley
documentation for setting up a new system.

These changes are necessary to use the ros2 package repository for newer
versions of Ubuntu.

https://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debs.html

Signed-off-by: Rob Woolley <[email protected]>
Temporarily disable the ebuild unit tests.  Support for Gentoo needs to
be updated and the tests currently fail.

Signed-off-by: Rob Woolley <[email protected]>
Adding --verbose to python nose will print out the test cases names.

This is useful for seeing what tests are being run when viewing the logs.

Signed-off-by: Rob Woolley <[email protected]>
Copy link
Contributor

@nuclearsandwich nuclearsandwich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's possible to switch to pytest rather than keeping along with nose that's ideal, but if it's complicated and this works it can be punted on. It can also be done as a follow-up PR which is why I'm approving as-is.

@robwoolley robwoolley merged commit f3dc27c into ros-infrastructure:master Nov 27, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants