Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache python and node build for playwright run on the same commit hash #109

Open
thinkh opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@thinkh
Copy link
Member

thinkh commented Oct 30, 2024

Currently, when a PR is flagged as ready for review we are automatically running the "Build repository / build / Node, Python, Playwright (pull_request)" workflow for the last commit hash. Once the reviewer approves the PR the workflow "Build repository / build / Node, Python, Playwright (pull_request_review)" will run on the exact same commit hash.

In both cases we are running the same setup (installing dependencies, yarn build, applying DB migrations, ...). Given the same commit hash, we could speed up the setup by caching the results of the first workflow and skip the compile and testing for the second workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant