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

speedup ci setup #138

Merged
merged 3 commits into from
Apr 30, 2021
Merged

speedup ci setup #138

merged 3 commits into from
Apr 30, 2021

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Apr 29, 2021

Reduce CI runtime from 9min30 to 5min30 by splitting off pre-commit and docs (those now available in <2 minutes).

Also:

  • switch from prospector to pylint
  • update yapf to 0.30 and move to virtual env
  • replace prospector.yaml and pylint.ini by compact pyproject.toml
  • minor fixes for pylint update

@ltalirz ltalirz requested a review from yakutovicha April 29, 2021 17:08
@ltalirz
Copy link
Member Author

ltalirz commented Apr 29, 2021

the CI setup now also includes caching of docker layers.
this currently has no large effect since the install of cp2k via apt is fast, but it would allow to move e.g. to use a recent cp2k version from conda while still maintaining fast builds.

Copy link
Contributor

@yakutovicha yakutovicha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @ltalirz!

@yakutovicha yakutovicha merged commit 3fbe089 into aiidateam:develop Apr 30, 2021
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