-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Build and cache conda environments with lockfiles #2011
Build and cache conda environments with lockfiles #2011
Conversation
731c352
to
806a84d
Compare
Codecov Report
@@ Coverage Diff @@
## master #2011 +/- ##
=======================================
Coverage 60.01% 60.01%
=======================================
Files 70 70
Lines 8115 8115
=======================================
Hits 4870 4870
Misses 3245 3245 📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
4610b26
to
c0a0824
Compare
*beep* *bop* Hi, human. The Click here to see your results. |
726b0cb
to
0ff9d8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How long are environments cached for? Just a specific release cycle?
The cache is scoped to the key and branch, the cache of the default branch is also available to other branches (reference). The key is formed like this: Then, the cache will not change unless the lockfiles are updated (a release cycle) or manually. We can also add a date to key to reset every 24hs (seems not necessary for us but can be done). |
Description
This pull request implement important changes in the
test
andbuild-docs
workflows:lockfiles
to build the environment according to TEP013 bringing more speed and stability to the developers.conda
environment with the workflow I submitted to the GitHub Actions Hackathon 2021. My workflow is already used as example in thesetup-miniconda
action documentation.Faster build times, see the table below.
Motivation and context
How has this been tested?
Examples
Type of change
Checklist
build_docs
label to this pull request (if you don't have enough privileges a reviewer will do it for you)