Skip to content

Commit 61e1467

Browse files
committed
Improve GH Actions caching to include Python packges, reducing test runtime
1 parent 884f8c2 commit 61e1467

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/update_cache.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,7 @@ jobs:
6868
# setup-nix-cache-action will automatically copy the build result to the first substituter, so no need for a nix
6969
# copy after the build.
7070
- run: nix build .#allPostgresWithPlPython
71+
# Might as well build the test suites too and cache them -- while they're fast and not typically cacheable in a
72+
# meaningful way, they do rely on Python versions with packages (like SQLAlchemy) that will be effectively cached
73+
# by this.
74+
- run: nix build .#allTestSuites

0 commit comments

Comments
 (0)