Skip to content

Commit

Permalink
add RHEL tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Rauch <[email protected]>
  • Loading branch information
christianrauch committed Jun 13, 2024
1 parent 27eab9d commit f79d216
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions __test__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as core from "@actions/core";
import * as actions_exec from "@actions/exec";

import * as ubuntu from "../src/setup-ros-ubuntu";
import * as rhel from "../src/setup-ros-rhel";
import * as osx from "../src/setup-ros-osx";
import * as windows from "../src/setup-ros-windows";

Expand All @@ -20,6 +21,10 @@ describe("basic workflow tests", () => {
await expect(ubuntu.runLinux()).resolves.not.toThrow();
});

it("run RHEL workflow", async () => {
await expect(rhel.runLinux()).resolves.not.toThrow();
});

it("run Windows workflow", async () => {
await expect(windows.runWindows()).resolves.not.toThrow();
});
Expand All @@ -43,6 +48,10 @@ describe("required-ros-distributions/noetic workflow tests", () => {
await expect(ubuntu.runLinux()).resolves.not.toThrow();
});

it("run RHEL workflow", async () => {
await expect(rhel.runLinux()).resolves.not.toThrow();
});

it("run Windows workflow", async () => {
await expect(windows.runWindows()).resolves.not.toThrow();
});
Expand Down

0 comments on commit f79d216

Please sign in to comment.