Skip to content

Commit

Permalink
Add support for Jazzy (#673)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
  • Loading branch information
christophebedard authored Apr 25, 2024
1 parent 254ab4e commit 39a8d22
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
- noetic
- humble
- iron
- jazzy
- rolling

# Define the Docker image(s) associated with each ROS distribution.
Expand All @@ -125,6 +126,11 @@ jobs:
ros_distribution: iron
ros_version: 2

# Jazzy Jalisco (May 2024 - November 2029)
- docker_image: ubuntu:noble
ros_distribution: jazzy
ros_version: 2

# Rolling Ridley (see REP 2002: https://www.ros.org/reps/rep-2002.html)
- docker_image: ubuntu:noble
ros_distribution: rolling
Expand All @@ -143,6 +149,8 @@ jobs:
- uses: ./ # Uses an action in the root directory
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
# Use ros2-testing repo for Jazzy before it's officially release
use-ros2-testing: ${{ matrix.ros_distribution == 'jazzy' }}
- run: .github/workflows/check-environment.sh
- run: .github/workflows/check-ros-distribution.sh "${{ matrix.ros_distribution }}"
if: matrix.ros_version == 1
Expand Down
1 change: 1 addition & 0 deletions __test__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ describe("validate distribution test", () => {
await expect(utils.validateDistro(["noetic"])).toBe(true);
await expect(utils.validateDistro(["humble"])).toBe(true);
await expect(utils.validateDistro(["iron"])).toBe(true);
await expect(utils.validateDistro(["jazzy"])).toBe(true);
await expect(utils.validateDistro(["rolling"])).toBe(true);
});

Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ inputs:
- noetic
- humble
- iron
- jazzy
- rolling
Multiple values can be passed using a whitespace delimited list
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7643,7 +7643,7 @@ function getRequiredRosDistributions() {
}
exports.getRequiredRosDistributions = getRequiredRosDistributions;
//list of valid linux distributions
const validDistro = ["noetic", "humble", "iron", "rolling"];
const validDistro = ["noetic", "humble", "iron", "jazzy", "rolling"];
//Determine whether all inputs name supported ROS distributions.
function validateDistro(requiredRosDistributionsList) {
for (const rosDistro of requiredRosDistributionsList) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function getRequiredRosDistributions(): string[] {
}

//list of valid linux distributions
const validDistro: string[] = ["noetic", "humble", "iron", "rolling"];
const validDistro: string[] = ["noetic", "humble", "iron", "jazzy", "rolling"];

//Determine whether all inputs name supported ROS distributions.
export function validateDistro(
Expand Down

0 comments on commit 39a8d22

Please sign in to comment.