I haven't tried it myself, but https://github.com/nektos/act may literally
let you just run our github actions locally.

To answer your question more specifically: there's usually one of two
reasons our CI fails that aren't caught locally: either due to the many
many versions of OpenSSL we support, or due to flake8/black/mypy/etc. tests.

I haven't bothered trying to replicate our zillions of OpenSSL versions
locally, thought one _can_ compile them all themselves if they're
motivated. For the other issue, it's possible to run them under tox, but I
generally just run black+flake8+mypy by hand, since it's faster.

Does that answer what you're looking for?

Alex

On Fri, Apr 2, 2021 at 6:09 PM Konstantin Shemyak <konstan...@shemyak.com>
wrote:

> In my attempt to contribute to the project, I have bumped into numerous
> "corners" of the CI checks and have caused massive force-push spam. What
> would be your suggestion to replicate the CI of the project to be able
> to run all the checks before actually creating a PR?
>
> Konstantin Shemyak
> _______________________________________________
> Cryptography-dev mailing list
> Cryptography-dev@python.org
> https://mail.python.org/mailman/listinfo/cryptography-dev
>


-- 
All that is necessary for evil to succeed is for good people to do nothing.
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to