Avoid rolling up an ERROR state when empty GenericAnalyzer blocks are marked discard_stale, or when all of their items are STALE. #434
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: Lint diagnostics | |
on: | |
pull_request: | |
push: | |
branches: | |
- ros2 | |
schedule: | |
# Run every week at 20:00 on Sunday | |
- cron: "0 20 * * 0" | |
jobs: | |
ament_lint: | |
name: Lint ${{ matrix.linter }} | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [ | |
cppcheck, | |
cpplint, | |
flake8, | |
pep257, | |
uncrustify, | |
xmllint, | |
] | |
runs-on: ubuntu-22.04 | |
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 | |
- uses: ros-tooling/action-ros-lint@master | |
with: | |
linter: ${{ matrix.linter }} | |
package-name: | | |
diagnostic_aggregator | |
diagnostic_common_diagnostics | |
diagnostic_updater | |
self_test |