-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add documentation on updating Octue services #683
Conversation
docs/source/updating_services.rst
Outdated
|
||
6. Write any new tests you need to verify your code works and update any old tests as needed | ||
|
||
7. Run the tests locally using e.g. ``pytest`` or ``python -m unittest`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consolidate on pytest
. It should be in a code block so it gets formatted similarly to previous steps.
Note: we should start installing it as a dev dependency by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooh double note, we should have a pytest-octue module containing all our test code ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could have a screenshot of pytest output in the terminal, you want all green ticks ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean test code for the SDK or some kind of generalisable test helpers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got a screenshot from amy
- I think that's ok? It doesn't reveal anything private apart from test paths
skipci
Contents (#683)
Operations
ruff
pre-commit checkDependencies
ruff
to dev dependenciesOther