Skip to content

Commit 8b0f314

Browse files
committed
Try industrial_ci
1 parent ec27685 commit 8b0f314

File tree

2 files changed

+26
-9
lines changed

2 files changed

+26
-9
lines changed

.github/workflows/testing.yml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
1-
name: "testing"
2-
on: pull_request
1+
on: # this determines when this workflow is run
2+
pull_request:
3+
workflow_dispatch: # allow manually starting this workflow
4+
35
jobs:
4-
testing:
5-
runs-on: ubuntu-22.04
6+
industrial_ci:
7+
name: ROS ${{ matrix.ROS_DISTRO }} (${{ matrix.ROS_REPO }})
8+
runs-on: ubuntu-latest
9+
strategy:
10+
# fail-fast: false # uncomment if failing jobs should not cancel the others immediately
11+
matrix: # matrix is the product of entries
12+
ROS_DISTRO: [humble]
13+
ROS_REPO: [main]
14+
env:
15+
UPSTREAM_WORKSPACE: .repos
616
steps:
7-
- uses: ros-tooling/[email protected]
8-
- uses: ros-tooling/[email protected]
17+
- name: Checkout out Git repository
18+
uses: actions/checkout@v4 # clone target repository
19+
- name: Run python linting
20+
uses: chartboost/ruff-action@v1
921
with:
10-
package-name: py_trees_parser
11-
target-ros2-distro: humble
12-
vcs-repo-file-url: https://raw.githubusercontent.com/sam-xl/py_trees_parser/refs/heads/ORTHO-277/create_bt_parser_repo/dependencies.repos
22+
args: --check .
23+
- name: Run unit tests
24+
uses: ros-industrial/industrial_ci@master # run industrial_ci
25+
env: # either pass all entries explicitly
26+
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
27+
ROS_REPO: ${{ matrix.ROS_REPO }}
28+
# with: # or pass the full matrix as config
29+
# config: ${{toJSON(matrix)}}
File renamed without changes.

0 commit comments

Comments
 (0)