Skip to content

Commit

Permalink
Add workflow for rolling
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor-99 committed Aug 6, 2024
1 parent 64094d8 commit f1f9e6d
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build_and_test_rolling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
name: Build and Test (rolling)

on:
push:
branches: [rolling]

pull_request:
branches: [rolling]

workflow_dispatch:

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

steps:
- uses: ros-tooling/[email protected]
with:
use-ros2-testing: true
- uses: ros-tooling/[email protected]
with:
target-ros2-distro: rolling

ament_lint_general:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-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: rolling
package-name: human_detector
ament_flake8:
name: ament_flake8
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
linter: flake8
distribution: rolling
package-name: human_detector
arguments: --config python_linter.flake8

0 comments on commit f1f9e6d

Please sign in to comment.