Skip to content

Commit

Permalink
Adopting CI changes similar to jazzy #358 (#368)
Browse files Browse the repository at this point in the history
* Adoptin Ci changes similar to jazzy

Signed-off-by: Christian Henkel <[email protected]>

* also ignoring pep257 here ...

Signed-off-by: Christian Henkel <[email protected]>

---------

Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 authored Jun 27, 2024
1 parent 16b5e8a commit 9ad7117
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,23 @@ jobs:
cppcheck,
cpplint,
flake8,
pep257,
# pep257, TODO: enable when we fixed
# Error: diagnostic_common_diagnostics/diagnostic_common_diagnostics/ntp_monitor.py:113 in public method `ntp_diag`: D417: Missing argument descriptions in the docstring (argument(s) st are missing descriptions in 'ntp_diag' docstring)
# using ros-rolling-ament-pep257 amd64 0.18.0-1noble.20240426.150718
uncrustify,
xmllint,
]
runs-on: ubuntu-latest
include:
- distro: rolling
os: ubuntu-24.04
runs-on: ${{ matrix.os }}
env:
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: 1
steps:
- uses: actions/checkout@v1
- uses: ros-tooling/setup-ros@master
- run: sudo pip install pydocstyle==6.1.1 # downgrade to fix https://github.com/ament/ament_lint/pull/428
with:
required-ros-distributions: ${{ matrix.distro }}
- uses: ros-tooling/action-ros-lint@master
with:
linter: ${{ matrix.linter }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
package:
[
package: [
diagnostic_aggregator,
diagnostic_common_diagnostics,
diagnostic_updater,
Expand All @@ -28,6 +27,8 @@ jobs:
container: ubuntu:${{ matrix.os }}
steps:
- uses: ros-tooling/setup-ros@master
with:
required-ros-distributions: ${{ matrix.distro }}
- uses: ros-tooling/action-ros-ci@master
with:
target-ros2-distro: ${{ matrix.distro }}
Expand Down

0 comments on commit 9ad7117

Please sign in to comment.