Skip to content

Commit cd72e7a

Browse files
committed
update workflows from upstream
1 parent 86cba2b commit cd72e7a

File tree

2 files changed

+52
-50
lines changed

2 files changed

+52
-50
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
python_version:
11+
- 3.8
12+
13+
name: Lint (python-${{ matrix.python_version }})
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v5
18+
- uses: actions/setup-python@v6
19+
with:
20+
python-version: ${{ matrix.python_version }}
21+
- run: pip install flake8
22+
- run: flake8
23+
24+
test:
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
include:
29+
# Test supported ROS 1 distributions
30+
# http://wiki.ros.org/Distributions
31+
- ros_distribution: noetic
32+
os: ubuntu-20.04
33+
os_container: ubuntu:20.04
34+
35+
name: ROS 1 ${{ matrix.ros_distribution }} (${{ matrix.os }})
36+
runs-on: ubuntu-latest
37+
container: ${{ matrix.os_container }}
38+
39+
steps:
40+
- uses: actions/checkout@v5
41+
with:
42+
path: ros_ws/src
43+
44+
- uses: ros-tooling/setup-ros@v0.7
45+
with:
46+
required-ros-distributions: ${{ matrix.ros_distribution }}
47+
48+
- uses: ros-tooling/action-ros-ci@v0.4
49+
env:
50+
SETUPTOOLS_USE_DISTUTILS: stdlib
51+
with:
52+
target-ros1-distro: ${{ matrix.ros_distribution }}

.github/workflows/ros_ci.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)