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

CI: Add pip depencency caching, don't run on doc changes, update setup-python to v4 #174

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

EwoutH
Copy link
Collaborator

@EwoutH EwoutH commented Sep 20, 2022

A bit of maintenance on the CI. The pip caching now works with the pyproject.toml file. The step to install dependencies takes about 45 seconds on Ubuntu and between 60 and 90 on macOS and Windows. If a cache is found for that branch, it can reduce the CI time by almost that amount.

Secondly, the CI now doesn't run on any changes in the docs/ folder or changes in Markdown or reStructuredText files. This save a bit more of CI time (a.k.a. the Planet).

Also updates setup-python to v4.

Closes #163.

@EwoutH EwoutH added this to the 2.3.0 milestone Sep 20, 2022
@EwoutH EwoutH requested a review from quaquel September 20, 2022 11:55
@coveralls
Copy link

coveralls commented Sep 20, 2022

Coverage Status

Coverage remained the same at 80.051% when pulling df53e37 on ci-opt2 into 5aaa46e on master.

@EwoutH EwoutH changed the title CI: Add pip depencency caching, update setup-python to v4 CI: Add pip depencency caching, don't run on doc changes, update setup-python to v4 Sep 20, 2022
@quaquel
Copy link
Owner

quaquel commented Sep 20, 2022

looks good to me.

@EwoutH EwoutH merged commit abfaafb into master Sep 20, 2022
@EwoutH EwoutH deleted the ci-opt2 branch September 26, 2022 14:11
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.

Don't run the CI on non-functional-code changes
3 participants