Skip to content

Commit

Permalink
Add ros iron workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor-99 committed Aug 1, 2024
1 parent 20a1cd0 commit 292c7da
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build_and_test_iron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Build and Test (iron)

on:
push:
branches: [iron]

pull_request:
branches: [iron]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:jammy

steps:
- uses: ros-tooling/[email protected]
with:
use-ros2-testing: true
- uses: ros-tooling/[email protected]
with:
target-ros2-distro: iron
File renamed without changes.
36 changes: 36 additions & 0 deletions .github/workflows/lint_iron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Lint
on:
pull_request:
push:

jobs:
ament_lint_general:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
strategy:
fail-fast: false
matrix:
linter: [xmllint, pep257]
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
linter: ${{ matrix.linter }}
distribution: iron
package-name: human_detector
ament_flake8:
name: ament_flake8
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
linter: flake8
distribution: iron
package-name: human_detector
arguments: --config python_linter.flake8

0 comments on commit 292c7da

Please sign in to comment.