|
|
|
|
|
by zrail
90 days ago
|
|
1. Make your tests as fast as practicable 2. Split out "syntactically correct" fast checks like linters into a standalone script and call it along with the slower checks in a full-check script 3. Set the fast-check script as a pre-commit hook and the full-check script as a pre-push hook. 4. Give the model instructions that it needs to run the fast-check script after every change and the full-check script when it thinks it's done. 5. Run full-check in CI. Then you're good as long as the model doesn't bypass the pre-push hook, and even then CI will catch it. |
|
Then push straight to main? Or do we need GitHub to help manage the queue https://docs.github.com/en/repositories/configuring-branches...