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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: "weekly"
5 changes: 2 additions & 3 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
- master

jobs:
build:
name: Check Actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Changelog check
uses: Zomzog/changelog-checker@v1.1.0
uses: Zomzog/changelog-checker@09cfe9ad3618dcbfdba261adce0c41904cabb8c4 # v1.3.0
with:
fileName: CHANGELOG.rst
env:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
name: publish release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
- name: 🔗 Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -23,11 +23,9 @@ jobs:
run: |
python -m pip install --no-cache-dir -r requirements-dev.txt
- name: 💃 Build release
if: success() && startsWith(github.ref, 'refs/tags')
run: |
python setup.py clean --all sdist bdist_wheel
- name: 📦 Publish release to PyPI
if: success() && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
password: ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Test against ROS 1

on:
push:
Expand All @@ -11,7 +11,7 @@ on:
- main

jobs:
build-ros1:
test-ros1:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Test package against ROS 2

on:
push:
Expand All @@ -11,14 +11,15 @@ on:
- main

jobs:
build-ros2:
test-ros2:
runs-on: ${{ matrix.os }}
strategy:
matrix:
name: [
"ubuntu-py39",
"ubuntu-py310",
"ubuntu-py311",
"ubuntu-py312",
]
include:
- name: "ubuntu-py39"
Expand All @@ -30,10 +31,13 @@ jobs:
- name: "ubuntu-py311"
os: ubuntu-latest
python-version: "3.11"
- name: "ubuntu-py312"
os: ubuntu-latest
python-version: "3.12"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions docker/ros1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM ros:noetic
LABEL maintainer "Gonzalo Casas <[email protected]>"
LABEL maintainer="Gonzalo Casas <[email protected]>"

SHELL ["/bin/bash","-c"]

# Install rosbridge
RUN apt-get update && apt-get install -y \
ros-noetic-rosbridge-suite \
ros-noetic-tf2-web-republisher \
ros-noetic-ros-tutorials \
ros-noetic-actionlib-tutorials \
ros-${ROS_DISTRO}-rosbridge-suite \
ros-${ROS_DISTRO}-tf2-web-republisher \
ros-${ROS_DISTRO}-ros-tutorials \
ros-${ROS_DISTRO}-actionlib-tutorials \
--no-install-recommends \
# Clear apt-cache to reduce image size
&& rm -rf /var/lib/apt/lists/*
Expand Down
12 changes: 6 additions & 6 deletions docker/ros2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM ros:iron
LABEL maintainer "Gonzalo Casas <[email protected]>"
FROM ros:jazzy
LABEL maintainer="Gonzalo Casas <[email protected]>"

SHELL ["/bin/bash","-c"]

# Install rosbridge
RUN apt-get update && apt-get install -y \
ros-iron-rosbridge-suite \
# ros-iron-tf2-web-republisher \
# ros-iron-ros-tutorials \
# ros-iron-actionlib-tutorials \
ros-${ROS_DISTRO}-rosbridge-suite \
# ros-${ROS_DISTRO}-tf2-web-republisher \
# ros-${ROS_DISTRO}-ros-tutorials \
# ros-${ROS_DISTRO}-actionlib-tutorials \
--no-install-recommends \
# Clear apt-cache to reduce image size
&& rm -rf /var/lib/apt/lists/*
Expand Down
Loading