Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Nov 10, 2020

Let's check if it's possible to set the usual CI env variables to avoid network connections and oversubscription during the tests run by cibuildwheel.

Hopefully this also impacts the pytest env but I am not that
sure.
@ogrisel ogrisel marked this pull request as ready for review November 12, 2020 15:01
@ogrisel
Copy link
Member Author

ogrisel commented Nov 12, 2020

https://github.com/scikit-learn/scikit-learn/actions/runs/359826369 has shown that the env is passed correctly to the pytest step. I removed the debug info.

This does not improve speed (maybe a bit due to skipped downloads) because the github workers only have 2 cores at the VM level instead of the docker level but this is better to set those env variables explicitly to be future proof.

@ogrisel ogrisel merged commit ae5799f into scikit-learn:master Nov 12, 2020
@ogrisel ogrisel deleted the cibuildwheel-openmp-env branch November 12, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant