Closed OwenPriceSkelly closed 5 months ago
Attention: Patch coverage is 96.55172%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 76.64%. Comparing base (
9eb5ba2
) to head (fe0a947
).
Files | Patch % | Lines |
---|---|---|
garden_ai/model_connectors/github_conn.py | 85.71% | 1 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fixes #413
Discussion
~This tweaks the
trackcalls
decorator so thatstage
can use its ownhas_been_called
attribute and guarantee that it only executes once.~This makes the GH connector behave a little more like the huggingface one by pulling instead of cloning when the directory is already a git repo.
Testing
~Wrote a cute little unit test, since it was easy~ updated the unit test so it checks that pull is called instead of clone when appropriate
Documentation
no docs
📚 Documentation preview 📚: https://garden-ai--417.org.readthedocs.build/en/417/