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

Reduce test job time #122

Closed
fukatani opened this issue Jan 3, 2018 · 3 comments · Fixed by #338
Closed

Reduce test job time #122

fukatani opened this issue Jan 3, 2018 · 3 comments · Fixed by #338

Comments

@fukatani
Copy link
Member

fukatani commented Jan 3, 2018

  • cache dependency
  • Reduce some version test (mainly appveyor)?
    Is it enable to omit python 3.5 and 3.6 test for appveyor?
@StrikerRUS
Copy link
Member

@fukatani

Caching detail is here.
https://docs.travis-ci.com/user/caching/#Things-not-to-cache
https://www.appveyor.com/docs/build-cache/
I check test time, some library build and download time is not ignorable.
https://travis-ci.org/fukatani/rgf_python/jobs/324187850
conda
It tooks 200sec.
https://github.com/theochem/qcgrids/blob/ac5d1e263b8f3fe0e659f908ab8bc849970ec24f/.travis.yml#L46-L54
ccache
We can cache fast rgf builf. (about 1min.)
pip
Not effective. Only pytest is effective.
apt, brew
We cannot cache public repository.
travis-ci/travis-ci#5876
Since sometimes CI is failed by timeout of downloading g++, I want to cache g++. But I don't know how we can.

Yeah, I agree that downloading g++ is the most time expensive and risky thing. But caching it we are closing our project for new versions 😢 .
By testing all Python versions on all platforms we are able to catch small problems(not bugs). The first thing comes to my mind is recent problem with buggy version of mkl which comes only on Windows with Python 3.4.

To be honest, I'm not suffering from long tests now. Do you?

@fukatani
Copy link
Member Author

fukatani commented Jan 4, 2018

If someone is allowed to wish so much, sometimes I want to CI result immidiately.
I will try if there is a good way.

@StrikerRUS
Copy link
Member

Yeah! And every time bug-free code!.. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants