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

Edit Testing Workflow #15

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lucas-nelson-uiuc
Copy link

Hey everyone - just came across Bagels and I've enjoyed using it so far!

Wanted to help the cause by contributing to the testing workflow:

  • Adds test.yml which calls pytest using uv.
  • Changes default bagels.config.CONFIG value from None to an instance of bagels.config.Config(). This resolved failed test cases that raised AttributeErrors for accessing values that did not exist.

To my understanding, changing the default CONFIG value only impacts testing. When running the app, this value is overwritten by an instance of bagels.config.Config() when bagels.config.load_config() is called anyway.

Also assuming that the failed test cases would pass if the secrets accessible on my machine. Let me know if I'm wrong.

Happy to edit anything proposed.

Thanks!

@EnhancedJax
Copy link
Owner

EnhancedJax commented Dec 9, 2024

Hi! I'm a bit busy recently so can't review until things clear up, but thanks for the PR!

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