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

Chamel/unit testing and coverage #86

Merged
merged 8 commits into from
Jun 28, 2024
Merged

Conversation

cmhamel
Copy link
Collaborator

@cmhamel cmhamel commented Jun 28, 2024

This PR does a few things but the main goal is to separate the unit testing code from the source code for easier code coverage to track down untested and even dead code.

  1. Move test files from optimism/ to ../test organized by submodule.
  2. Change keyword tol to rtol in cg method calls in tests for the inverse module due deprecations.
  3. Hook up a code coverage badge in README and ci yaml files.

@cmhamel
Copy link
Collaborator Author

cmhamel commented Jun 28, 2024

Oof 78 files changed!

Note that all files changes except for in the inverse module testing, the changes are import statements due to moving the testing fixtures around.

cmhamel and others added 3 commits June 27, 2024 21:13
Adding token for codecov
bumping action versions in ci
Copy link

codecov bot commented Jun 28, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@ralberd ralberd self-requested a review June 28, 2024 23:49
@ralberd ralberd merged commit 7b141ea into main Jun 28, 2024
4 checks passed
@ralberd ralberd deleted the chamel/unit-testing-and-coverage branch June 28, 2024 23:50
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.

2 participants