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 lcov code coverage tool #467

Merged
merged 5 commits into from
Jun 16, 2020
Merged

Add lcov code coverage tool #467

merged 5 commits into from
Jun 16, 2020

Conversation

apcraig
Copy link
Contributor

@apcraig apcraig commented Jun 12, 2020

PR checklist

  • Short (1 sentence) summary of your PR:
    Add lcov code coverage tool and minor refactor of coverage scripts

  • Developer(s):
    apcraig

  • Suggest PR reviewers from list in the column to the right.

  • Please copy the PR test results link or provide a summary of testing completed below.
    ran several tests with coverage turned on, verifies it updates the following website, https://apcraig.github.io/
    no source code was changed, ran a quick suite on cheyenne with 3 compilers to confirm things are working, https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash_forks#ea01b978fcc788fa021d9ea789dc440cc724993b

  • How much do the PR code changes differ from the unmodified code?

    • bit for bit
    • different at roundoff level
    • more substantial
  • Does this PR create or have dependencies on Icepack or any other models?

    • Yes
    • No
  • Does this PR add any new test cases?

    • Yes
    • No
  • Is the documentation being updated? ("Documentation" includes information on the wiki or in the .rst files from doc/source/, which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/. A test build of the technical docs will be performed as part of the PR testing.)

    • Yes
    • No, does the documentation need to be updated at a later time?
      • Yes
      • No
  • Please provide any additional information or relevant details below:

  • Updates the scripts implementation and adds lcov tool.

  • "--coverage" turns on lcov analysis, prior to this PR it activated the codecov analysis tool. The codecov tool is still available and can be run manually.

  • need to have write permissions to github.com/apcraig/apcraig.github.io to write results to the web site. This site could/should be moved into the Consortium once there's general agreement it should live there. I am also happy to provide write access to several people and for it to continue to live under apcraig.

  • Adds a badge for the lcov results, will need to check it's working OK once merged.

  • Cleans up the /bin/csh implementation, removing a space.

Copy link
Contributor

@eclare108213 eclare108213 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

Copy link
Contributor

@rallard77 rallard77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a significant improvement over the previous version using "codecov".

@apcraig apcraig merged commit aec9683 into CICE-Consortium:master Jun 16, 2020
@apcraig apcraig mentioned this pull request Jul 1, 2020
@apcraig apcraig deleted the lcov01 branch August 17, 2022 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants