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

GitHub Action to run pre-commit #5848

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 10, 2021

Subtask of #5843
Blocked by #5870
Now that we have a pre-commit that runs fast, let's add a GitHub Action that runs it in parallel with our existing JavaScript and Python GitHub Actions. Running this action assures that PRs that are created via the GitHub web UI or other means are tested with the same test that command-line developers use. This could either be a standalone file (this PR) or these commands could be added as a parallel job in the Python Action.

Technical

Testing

Fails because running flake8 inside a Docker container has its downsides.

Screenshot

Stakeholders

@cclauss cclauss marked this pull request as draft November 10, 2021 05:41
@cclauss cclauss changed the title GitHub Action to run pre-commit DRAFT: GitHub Action to run pre-commit Nov 10, 2021
@cclauss cclauss mentioned this pull request Nov 10, 2021
21 tasks
@cclauss cclauss marked this pull request as ready for review November 12, 2021 18:24
@cclauss cclauss changed the title DRAFT: GitHub Action to run pre-commit GitHub Action to run pre-commit Nov 12, 2021
@cclauss cclauss merged commit b234ef0 into internetarchive:master Nov 15, 2021
@cclauss cclauss deleted the pre-commit-action branch November 15, 2021 18:28
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

Successfully merging this pull request may close these issues.

1 participant