Skip to content
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

Merged
merged 9 commits into from
Aug 15, 2023
Merged

add CI testing #1

merged 9 commits into from
Aug 15, 2023

Conversation

ilkilic
Copy link
Collaborator

@ilkilic ilkilic commented Aug 15, 2023

No description provided.

@ilkilic ilkilic self-assigned this Aug 15, 2023
Copy link
Collaborator

@AurelienJaquier AurelienJaquier left a 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?

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
Copy link
Collaborator

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

Copy link
Collaborator Author

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.

Copy link
Collaborator

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?

Copy link
Collaborator Author

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?

Copy link
Collaborator

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",
Copy link
Collaborator

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

Copy link
Collaborator Author

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?

Copy link
Collaborator

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

Copy link
Collaborator

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

Copy link
Collaborator Author

@ilkilic ilkilic Aug 15, 2023

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

@AurelienJaquier
Copy link
Collaborator

AurelienJaquier commented Aug 15, 2023

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

@ilkilic ilkilic merged commit bf2d2bc into main Aug 15, 2023
7 checks passed
@ilkilic ilkilic deleted the workflows-test branch August 15, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants