ament / ament_lint

Apache License 2.0
38 stars 107 forks source link

Enable SARIF output for Space ROS testing #380

Closed mjeronimo closed 2 years ago

mjeronimo commented 2 years ago

Add the --sarif-file command-line option to the invocation of all of the static analysis tools (via colcon test).

Also, ament_copyright requires some special handling because it has some mutually exclusive options, but --sarif-file and --xunit-file should both be allowed during the same run.

Fixes: https://github.com/space-ros/space-ros/issues/41

Signed-off-by: Michael Jeronimo michael.jeronimo@openrobotics.org