hypothesis / hypothesis/cookiecutters

`pypackage`: cache the `.tox` directory on GHA

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The `pypackage` cookiecutter should cache the `.tox` directory on GitHub Actions in the same way as the `pyramid-app` one does. This might speed up CI and [tox-recreate](https://github.com/hypothesis/tox-recreate) should ensure that the venvs get recreated if `setup.cfg` changes (and tox itself will recreate the venvs if `tox.ini` changes).

For packages, which use unpinned dependencies, we actually _want_ the venvs on CI to be re-created over time even if `tox.ini` and `setup.cfg` don't change so that we test against new versions of our dependencies as they get released. Caching the `.tox` dir would defeat that. I wonder if we could disable caching just for the scheduled nightly run of `ci.yml`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.