Skip to content

Update GitHub Actions workflow#301

Merged
robwoolley merged 8 commits intoros-infrastructure:masterfrom
robwoolley:master
Nov 27, 2024
Merged

Update GitHub Actions workflow#301
robwoolley merged 8 commits intoros-infrastructure:masterfrom
robwoolley:master

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

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
This prevents trailing zeroes from being removed by making the
values strings not numbers.

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
Use pynose for Python 3.11+ support

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
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 <rob.woolley@windriver.com>
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 <rob.woolley@windriver.com>
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 <rob.woolley@windriver.com>
Temporarily disable the ebuild unit tests.  Support for Gentoo needs to
be updated and the tests currently fail.

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
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 <rob.woolley@windriver.com>
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
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