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

How do you run all the CI checks locally? #3271

Open
szabgab opened this issue Mar 16, 2025 · 1 comment
Open

How do you run all the CI checks locally? #3271

szabgab opened this issue Mar 16, 2025 · 1 comment

Comments

@szabgab
Copy link
Contributor

szabgab commented Mar 16, 2025

As I tried to make some contributions the CI fails here and there. There are a number of command the CI runs. It would be nice if I could run them locally easily as a single command. In my own projects I started to use pre-commit hooks for this. I wonder what do the developers of axum use to make it easy to run all the checks locally before pushing out to GitHub?

@mladedav
Copy link
Collaborator

Honestly, I don't run them all. I just run clippy and tests manually and then let the CI run and investigate if something fails.

Running them all (especially cargo hack) is also a bit of an overkill in most cases.

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

2 participants