forked from projectmesa/mesa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Speed up pip install by caching deps install output
Based on the benchmark, it speeds up by about 2x for the Ubuntu instances. While extracting the cache tarball for the Windows instance could be further sped up, with a `tar` binary that supports `zstd`. See #12. The cache should be automatically cleared every month. Or alternatively, create a lockfile (either via Poetry of `pip-tools`) that is automatically updated via Dependabot. Regardless, this is out of the scope of this PR.
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 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,8 @@ | ||
import toml | ||
|
||
# This file reads the pyproject.toml and prints out the | ||
# dependencies and dev dependencies. | ||
# It is located in tests/ folder so as not to pollute the root repo. | ||
c = toml.load("pyproject.toml") | ||
print("\n".join(c["project"]["dependencies"])) | ||
print("\n".join(c["project"]["optional-dependencies"]["dev"])) |