Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add markers to linter tests, move linter imports #576

Merged
merged 1 commit into from
Sep 2, 2023

Commits on Aug 30, 2023

  1. Add markers to linter tests, move linter imports

    Test markers can be used to easily (de-)select tests, and colcon exposes
    mechanisms to do so. Linters are a category of tests that are commonly
    called out.
    
    Additionally, if we move the imports for some of our single-purpose
    tests into the test function, we can avoid installing the linter
    dependencies entirely. This is a common case in platform packaging, where
    linter errors are not actionable and the dependencies are not typically
    installed.
    cottsay committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    0178aa8 View commit details
    Browse the repository at this point in the history