Merge pull request #2 from Alpaca-zip/feature/optimization #10
Workflow file for this run
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: ROS1 Industrial CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
black_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic # Replace noetic for your chosen distro. | |
BLACK_CHECK: true | |
pylint_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic # Replace noetic for your chosen distro. | |
# UPSTREAM_WORKSPACE: dependencies.rosinstall | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
PYLINT_ARGS: '--errors-only' | |
PYLINT_CHECK: true | |
catkin_lint_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic # Replace noetic for your chosen distro. | |
# UPSTREAM_WORKSPACE: dependencies.rosinstall | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
CATKIN_LINT: true | |
build_check: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- ROS_DISTRO: noetic # Replace noetic for your chosen distro. | |
ROS_REPO: main | |
# UPSTREAM_WORKSPACE: dependencies.rosinstall | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
IMMEDIATE_TEST_OUTPUT: true | |
- ROS_DISTRO: noetic # Replace noetic for your chosen distro. | |
ROS_REPO: testing | |
# UPSTREAM_WORKSPACE: dependencies.rosinstall | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
IMMEDIATE_TEST_OUTPUT: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: ${{matrix.env}} |