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

Enable support for code coverage #504

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Dec 7, 2021

  1. Enable code coverage for industrial ci

    Signed-off-by: Chen Bainian <[email protected]>
    
    Make python coverage only available to colcon in ROS2
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Revert mercurial setup changes
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Fix curl not found in ROS1
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    temp
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Add lcov and find report command
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Add in coveralls.io option
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Fix .coverage not found
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Fix coveralls not found
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Fix wrong .coverage path
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use coveralls-merge
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Remove psutils installation
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use coveragepy combine report
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use coveragerc for files ignore
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use coveralls specific environment variables
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Avoid exit for pure c++ or python package
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Avoid coveragepy report error
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use target repo name
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Force Debug build during coverage build
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Expose .ici_coverage_report for coverage reports
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Run cd in subshell and expose coverage report files
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Some sed magic to remove identifiable absolute path
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Add support for ROS1 python unittest, Credit: @rarrais
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Move coveralls report merging inside, expose only merged json file
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use CODECOV env variable directly in function
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Sample travis report upload script
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Fix typo on sample travis report upload script
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Remove redundant files
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Display coveragepy installation elegantly
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Add Gitlab support
    
    Signed-off-by: Chen Bainian <[email protected]>
    Fix some wrong versions of python
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Add Github Action coverage support
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Upgrade pip first
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Python report ignore everything from build and devel
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Wrong! Ignore devel instead
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Python ignore everything from build and devel
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Use include pattern instead of omit
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Update author copyrights
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Move coverage helper function into coverage.sh
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Streamline coverage upload script
    
    Signed-off-by: Chen Bainian <[email protected]>
    
    Abstract python pip installation
    
    install setup tool as well
    
    Move code coverage inside docker script
    Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    05ddfc7 View commit details
    Browse the repository at this point in the history
  2. Fix missing renaming (#3)

    agutenkunst authored and Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    9939330 View commit details
    Browse the repository at this point in the history
  3. Update doc

    agutenkunst authored and Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    06aa571 View commit details
    Browse the repository at this point in the history
  4. Remove duplicate error msg

    agutenkunst authored and Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    0d87580 View commit details
    Browse the repository at this point in the history
  5. Add missing export and source

    agutenkunst authored and Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    2786a6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    68e359e View commit details
    Browse the repository at this point in the history
  7. Add uploading of coverage

    agutenkunst authored and Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    a5da1e4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    27e6d29 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    715fa49 View commit details
    Browse the repository at this point in the history
  10. Fix indent typo

    Signed-off-by: Chen Bainian <[email protected]>
    Briancbn committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    bff1cc2 View commit details
    Browse the repository at this point in the history