Skip to content

Add caching to the new GHA workflow - #880

Merged
srittau merged 5 commits into
python:masterfrom
sondrelg:caching
Aug 31, 2021
Merged

srittau merged 5 commits into
python:masterfrom
sondrelg:caching

Conversation

@sondrelg

Copy link
Copy Markdown
Contributor

Hi!

This might be a bit of a premature optimisation, but I noticed you were transitioning to Github actions and I thought I'd propose adding caching to your current workflow 🙂 I also took the liberty of making two other minor changes which I'm happy to drop if you'd rather not include them - just let me know!

I don't think this should introduce any conflicts with #876, but if that PR is merged first, I could rebase and add caching to that job too, if that's something you want (or the other way around hehe) 👍

@sondrelg
sondrelg marked this pull request as ready for review August 31, 2021 07:29
Comment thread .github/workflows/ci.yml Outdated
python -m pip install --upgrade pip
pip install -r test-requirements.txt
pip install --upgrade pip
pip install flake8

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are also installing flake8-bugbear (and flake8-pyi, which shouldn't matter). To avoid this kind of discrepancies, I'd prefer to continue using test-requirements.txt here, even if it installs some unneeded packages.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see! I'll add caching here instead then 🙂

@srittau
srittau merged commit 829eb41 into python:master Aug 31, 2021
@sondrelg
sondrelg deleted the caching branch August 31, 2021 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants