-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Changed | ||
....... | ||
|
||
- Create and cache a virtual environment in CI, as well as the tox environments. | ||
|
||
With a cache hit, this decreases CI total usage from ~15 minutes to ~10 minutes. | ||
It decreases CI duration from ~7 minutes to ~5 minutes. | ||
|
||
The cache keys hash ``requirements/*.txt`` and ``tox.ini``. | ||
GitHub caches are branch-specific, but if no cache is found for the current branch, | ||
the cache for the ``main`` branch will then be checked. | ||
It is anticipated that most branches will therefore have a cache hit. |