-
Notifications
You must be signed in to change notification settings - Fork 0
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 state filter tests and handle readonly database #8
Conversation
Adding some tests to make sure state-based filtering of jobs works
It can happen that the database could be read-only but running commands like gridtk list should still work.
Handle cases when job_manager.logs_dir is not relative to logs. Also output valid states when state callback fails.
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
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.
Looks good.
Can you just confirm the output path comment (that it is doing what is expected).
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.
Seems much more logical to me like this.
Add an indication on how to specify ranges in the help message of the `--jobs` (`-j`) option of the `gridtk list` command.
fix: more error handling
fix: when the database is read-only
test: add tests for state-based filtering
📚 Documentation preview 📚: https://gridtk--8.org.readthedocs.build/en/8/