-
Notifications
You must be signed in to change notification settings - Fork 5
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 CI testing #1
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.
Could you also remove the .gitlab-ci file?
.github/workflows/test.yml
Outdated
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10"] |
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 can also add "3.11" here
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.
Shouldn't we keep it so that the mirror doesn't break? I think Anil left the gitlab-ci file in the github of bluecellulab.
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.
Oh, ok. You need to keep a mirror on gitlab to run some tests, am I understanding this correctly?
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'm not sure yet, maybe we can keep it for the moment?
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.
ok sure ;)
@@ -34,8 +34,6 @@ | |||
EXTRA_LUIGI = [ | |||
"luigi>=3.0", | |||
"luigi-tools>=0.0.12", | |||
"bbp-workflow>=2.1.19", |
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.
Maybe you should not remove that, we have some bbp-worklow import in bluepyemodel.tasks.luigi_tools
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 CI still tries to install it and since it's private it can't find it, maybe we should comment it?
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.
They are still dependencies, so we should not remove them from the setup.py. We can just replace extra: all in tox by only the needed extras. lint might fail with some dependencies not found error, because it did not find bbp workflow, and we can just add an ignore this pylint warning in the 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.
Or maybe we can remove them, and do a try/except explaining that it is the user responsability to install bbp-workflow
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.
Or maybe we can remove them, and do a try/except explaining that it is the user responsability to install bbp-workflow
yes since we we did for bluepyemodelnexus, I think it would make sense for those as well to do it like that
You can also remove the PIP_INDEX_URL and the PIP_EXTRA_INDEX_URL from tox.ini, unless you need to keep it for mirroring and stuff |
No description provided.