This way, you can choose to have PRs to e.g. a dev/release candidate
branch where the fast unit tests run but the slow ones don't, to
conserve GitHub minutes and allow merging more quickly (as the slow
ones take > 20 minutes).
Checks
[x] Have you added unit tests?
[ ] Have you added documentation?
[x] Are all tests and linting passing?
Information for reviewer
Are there other ways we might want to accomplish this? E.g. have a slow workflow that we need to manually run or run the fast tests (fast unit tests and pre-commit tests) on every push and the slow ones only on PRs.
Overview
This way, you can choose to have PRs to e.g. a dev/release candidate branch where the fast unit tests run but the slow ones don't, to conserve GitHub minutes and allow merging more quickly (as the slow ones take > 20 minutes).
Checks
Information for reviewer
Are there other ways we might want to accomplish this? E.g. have a slow workflow that we need to manually run or run the fast tests (fast unit tests and pre-commit tests) on every push and the slow ones only on PRs.