Skip to content

Centralize source of coverage report (WIP) - #3792

Closed
erik-whiting wants to merge 3 commits into
biopython:masterfrom
erik-whiting:updating-codecov-2nd-attempt
Closed

erik-whiting wants to merge 3 commits into
biopython:masterfrom
erik-whiting:updating-codecov-2nd-attempt

Conversation

@erik-whiting

@erik-whiting erik-whiting commented Nov 16, 2021 •

Copy link
Copy Markdown
Contributor
  • I hereby agree to dual licence this and any previous contributions under both
    the Biopython License Agreement AND the BSD 3-Clause License.

  • I have read the CONTRIBUTING.rst file, have run pre-commit locally,
    and understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
    tests and style checks pass with these changes.

  • I have added my name to the alphabetical contributors listings in the files
    NEWS.rst and CONTRIB.rst as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

Addresses #3752

In this PR, I upgrade the codecov orb, and use one test run to generate the coverage report. This seems to have fixed the allegedly random variations in coverage. I tested this by creating several PRs that randomly removed a file in the Tests directory, and then seeing if identical PRs would result in the same coverage report; they do.

There is one concern. I cannot tell what the difference between CirlceCI, GHA, and AppVeyor tests are. They are all run with the --offline flag, so the same code paths should be used in each. There is nothing to indicate that the tests run in AppVeyor implement different code paths than those in GitHub Actions or CircleCI for example. Perhaps the AppVeyor tests RDBMSs that CircleCI doesn't, but this is not something codecov would be able to detect or report on.

Please let me know if you have any questions, notes, criticisms, requests, or anything else.

EDIT: Something is wrong, Circle hasn't started yet. Block this for now

@erik-whiting erik-whiting changed the title Centralize source of coverage report Centralize source of coverage report (WIP) Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant