fix ci: remove melodic (eol) (#871) #729
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: | |
- 3.8 | |
name: Lint (python-${{ matrix.python_version }}) | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- run: pip install flake8 | |
- run: flake8 | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# Test supported ROS 1 distributions | |
# http://wiki.ros.org/Distributions | |
- ros_distribution: noetic | |
os: ubuntu-20.04 | |
name: ROS 1 ${{ matrix.ros_distribution }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: ros_ws/src | |
- uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: ${{ matrix.ros_distribution }} | |
- uses: ros-tooling/[email protected] | |
env: | |
SETUPTOOLS_USE_DISTUTILS: stdlib | |
with: | |
target-ros1-distro: ${{ matrix.ros_distribution }} |