diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2023-11-01 00:00:00 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2023-11-01 00:00:00 +0000 |
| commit | 03bb9ef8c419273681199eb6e85c82fe0e4f3d51 (patch) | |
| tree | 1de6e0993894d657d337698dbf1cb740db198d2c /git_hooks/pre-commit | |
| parent | c37ceaf1c3e4371f320798bf423719a9a6fe71fd (diff) | |
build(hooks) run tests in pre-push not pre-commit
as the run time of the test suite has increased, the trade-off
between convienence and the warm feeling of seeing a sea of green test
passes for unrelated tests has changed
Diffstat (limited to 'git_hooks/pre-commit')
| -rw-r--r--[-rwxr-xr-x] | git_hooks/pre-commit | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/git_hooks/pre-commit b/git_hooks/pre-commit index 63b191d..5ec9f01 100755..100644 --- a/git_hooks/pre-commit +++ b/git_hooks/pre-commit | |||
| @@ -15,10 +15,4 @@ then | |||
| 15 | exit 1 | 15 | exit 1 |
| 16 | fi | 16 | fi |
| 17 | 17 | ||
| 18 | if ! cargo test | ||
| 19 | then | ||
| 20 | echo "There are some test issues." | ||
| 21 | exit 1 | ||
| 22 | fi | ||
| 23 | |||
| 24 | exit 0 \ No newline at end of file | 18 | exit 0 \ No newline at end of file |