mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
596635fbcd
It did not run under `fish` shell at all, added a shebang to make it work. Also it assumed nodemon is installed globally. Instead we can add nodemon as a devDependency and use `npx` to run it.
6 lines
293 B
Bash
Executable File
6 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
REDIS_URL='redis:///' OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES python manage.py test --parallel=4 $@ --noinput
|
|
REDIS_URL='redis:///' npx nodemon --ext py --exec "OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES python manage.py test --parallel=1 --noinput --keepdb $@; mypy posthog"
|