-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/cash bleeders #30
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.
LGTM
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.
Left some comments, but just some food for thought for future improvements.
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade --upgrade-strategy eager -r .github/workflows/utils_requirements.txt |
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 always upgrade pytest instead of fixing its version?
pip install --upgrade --upgrade-strategy eager -r .github/workflows/utils_requirements.txt | ||
- name: Run tests | ||
run: | | ||
pytest --junitxml=report.xml |
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.
Is the report retrievable later?
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.
Just for the record... Why all the changes in the requirements?
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 turned out that these bibs were unnecessary
if not isinstance(name, str) or not isinstance(data_type, str): | ||
raise ValueError("Each tuple must contain a column name and data type as strings.") | ||
if data_type.upper() not in valid_types: | ||
raise ValueError(f"Invalid data type '{data_type}'. Supported types are: {', '.join(sorted(valid_types))}") |
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.
inform which column had the invalid data_type
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.
Good one, This should go for a improvements section
Adding Utils methods;
Adding Pytest for Utils methods;
Testing Pytest workflow with github actions behavior for Pull Requests;