Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ci: port lint, unit test, and e2e tests to Actions #155
ci: port lint, unit test, and e2e tests to Actions #155
Changes from 4 commits
5f7c890
8ce58f6
1167fc4
4ad9683
f6a723f
6f8e75e
bd90e45
1bd6a94
e41d8bd
f47cb2c
6770ff9
6552c0d
8203daa
545912f
2e79e69
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Didn't check if this is also there is the existing CI, but we should not have multiple
pip install
commands, because they can override dependencies installed in a previous step.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.
The current CI setup does it this way as well, kedro is installed first and then the
test_requirements.txt
for the plugin being tested. I tried making this change in my forked repo but the tests start failing at the "Installing dependencies" stage forkedro-datasets
because of dependency resolution conflict. (See this failed run)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 think this is a critical problem that needs resolving--whether it's in scope of this PR or not is a separate issue.
What this means is that, in reality, we don't have resolvable requirements, and we're only able to get to a resolvable state by overwriting some of the previously-installed requirements. Some of the stuff installed in the
pip install -r test_requirements.txt
are not actually going to be compatible with Kedro onmain
, it seems.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.
This is definitely something we need to look into more. I'd suggest creating a separate ticket.
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.
Nit: Any reason not to lint on the latest supported version instead of 3.8?
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.
Current setup also runs lint on 3.8. The lint tests fail for other versions of python for
kedro-datasets
because of thissnowflake-snowpark-python
is only installed for python version 3.8 so pylint throws import errors. We can change the python version to 3.10 and suppress the errorThere 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.
Thanks for answering, I'm fine with either route (or doing this in a separate task in the future); I was just wondering. :)
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.
Same