Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/ros.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---

name: Build and test
on:
pull_request:
push:
branches:
- main

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
- uses: pre-commit/action@v3.0.1

build_and_test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ros: humble
ubuntu: jammy
- ros: jazzy
ubuntu: noble
- ros: lyrical
ubuntu: resolute
name: ROS 2 ${{ matrix.ros }}
container:
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-${{ matrix.ubuntu }}:latest
env:
PIP_BREAK_SYSTEM_PACKAGES: 1
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/action-ros-ci@v0.4
with:
target-ros2-distro: ${{ matrix.ros }}
import-token: ${{ secrets.GITHUB_TOKEN }}
vcs-repo-file-url: repos.yaml
package-name: radar_conti_ars408 radar_conti_ars408_msgs
- uses: actions/upload-artifact@v4
with:
name: colcon-logs-${{ matrix.ros }}
path: ros_ws/log
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.ruff.toml
60 changes: 0 additions & 60 deletions .gitlab-ci.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# Apply Polymath Code Standard formatters and linters
repos:
- repo: https://github.com/polymathrobotics/polymath_code_standard.git
rev: v2.2.0
hooks:
- id: polymath-general
- id: polymath-python
- id: polymath-cpp
- id: polymath-shell
- id: polymath-cmake
- id: polymath-markdown
- id: polymath-xml
- id: polymath-yaml
- id: polymath-toml
- id: polymath-json
- id: polymath-copyright
args: [--license, Apache-2.0, --copyright-org, 'Polymath Robotics, Inc.']
Loading
Loading