Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ROBOTIS-Will committed Jun 13, 2021
1 parent 9ff37b4 commit 38c94f4
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,25 @@ name: Lint
# events but only for the master branch
on:
push:
branches: [ ros2, ros2-devel, dashing-devel, foxy-devel, galactic-devel ]
branches: [ ros2, ros2-devel, galactic-devel ]
pull_request:
branches: [ ros2, ros2-devel ]
branches: [ ros2, ros2-devel, galactic-devel ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ament_lint_dashing:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
linter: [copyright, cppcheck, cpplint, flake8, pep257, xmllint]
distribution: [dashing]
steps:
- uses: actions/checkout@v1
- uses: ros-tooling/setup-ros@v0.1
- uses: ros-tooling/action-ros-lint@v0.1
with:
distribution: ${{ matrix.distribution }}
linter: ${{ matrix.linter }}
package-name:
turtlebot3_simulations
turtlebot3_fake_node
turtlebot3_gazebo

ament_lint_foxy:
ament_lint_galactic:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
linter: [copyright, cppcheck, cpplint, flake8, pep257, xmllint]
distribution: [foxy]
distribution: [galactic]
steps:
- uses: actions/checkout@v1
- uses: ros-tooling/setup-ros@v0.2.1
- uses: ros-tooling/setup-ros@0.2.1
- uses: ros-tooling/action-ros-lint@v0.1
with:
distribution: ${{ matrix.distribution }}
linter: ${{ matrix.linter }}
package-name:
turtlebot3_simulations
turtlebot3_fake_node
turtlebot3_gazebo

0 comments on commit 38c94f4

Please sign in to comment.