plannigan / columbo

Specify a dynamic set of questions to ask a user and get their answers.
https://plannigan.github.io/columbo/
MIT License
18 stars 6 forks source link

Cache Python dependencies in CI #292

Open plannigan opened 2 years ago

plannigan commented 2 years ago

actions/setup-python supports caching-packages-dependencies. Add support for caching for both requirements.txt and requirements-test.txt.

Kaos599 commented 2 weeks ago

hey can i try working on this @plannigan. can you make this to a hacktoberfest label ?

plannigan commented 2 weeks ago

Feel free to take a try. I added the label.

Kaos599 commented 2 weeks ago

Feel free to take a try. I added the label.

there is no requirements.txt and requirements-test.txt in this repo right? except for requirements-bootstrap.txt? so should i create them

plannigan commented 2 weeks ago

All of the dependencies are in pyproject.toml. The library dependencies are here. The development dependencies are within the tool.hatch.envs sections.

Kaos599 commented 2 weeks ago

Everything seems to be working, except the codecov token. So should i put up a PR for you to review? @plannigan.

Here is the run i tried. Run

plannigan commented 2 weeks ago

Yes. Once you think things are in a good state, submit the PR and I'll take a look.