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

Run tests in CI, add code coverage #28

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Run tests in CI, add code coverage #28

merged 1 commit into from
Mar 11, 2025

Conversation

sritchie
Copy link
Contributor

@sritchie sritchie commented Mar 6, 2025

This PR:

  • adds a GitHub action to run the tests in CI on our GPU runner
  • changes the genlm-backend dependency to pull from pypi
  • adds code coverage reporting to the repo + a badge

@sritchie sritchie requested review from alex-lew and gabegrand March 6, 2025 12:48
Copy link

codecov bot commented Mar 6, 2025

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 ☂️

@@ -1,6 +1,10 @@
# LLaMPPL + HuggingFace

[![docs](https://github.com/probcomp/hfppl/actions/workflows/docs.yml/badge.svg)](https://probcomp.github.io/hfppl)
[![Tests](https://github.com/probcomp/hfppl/actions/workflows/pytest.yml/badge.svg)](https://github.com/probcomp/hfppl/actions/workflows/pytest.yml)
[![codecov](https://codecov.io/gh/probcomp/hfppl/graph/badge.svg?token=414EHUC2P3)](https://codecov.io/gh/probcomp/hfppl)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just confirming that token isn't intended to be secure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep that's correct, this is what codecov sends us to copy-paste.

@sritchie sritchie merged commit 3aacd9b into main Mar 11, 2025
3 checks passed
@sritchie sritchie deleted the sritchie/build branch March 11, 2025 21:16
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