-
Notifications
You must be signed in to change notification settings - Fork 1
chore: add CI workflow #46
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
Conversation
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.
we could add timeout limit in both jobs
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 don't think it's useful in this case.
What do you have in mind ?
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.
to avoid any job hanging for 6 hours,
we could add timeout-minutes: 30
https://stackoverflow.com/questions/59073731/set-default-timeout-on-github-action-pipeline
| run: make doc | ||
|
|
||
| test: | ||
| runs-on: ubuntu-latest |
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.
should also run in other platforms such as macos and windows, no?
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.
It should not matter, we don't use complex lib or math lib
| strategy: | ||
| fail-fast: false # Do not stop when any job fails | ||
| matrix: | ||
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
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.
add a TODO to remove 3.9 support after October 2025
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.
We'll remove it when we drop the support, added in a linear card
src/giskard_hub/_base_client.py
Outdated
| except httpx.HTTPStatusError as e: | ||
| if e.response.status_code == httpx.codes.UNPROCESSABLE_ENTITY: | ||
| raise ValueError("Validation error: " + e.response.text) | ||
| raise ValueError("Validation error: " + e.response.text) from e |
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.
out of scope, should be handled in #44
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.
it's to fix the linting, but you want, I can drop this
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.
why that?
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 mean why not using [] as a default ?
This object would be a reference to an list, so the same list would be used for every calls
|

No description provided.