mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Check postinstall has been done before running tests
This commit is contained in:
parent
480231e2c2
commit
2ba5f5bb3f
1 changed files with 2 additions and 1 deletions
3
ynh-dev
3
ynh-dev
|
@ -293,7 +293,8 @@ function run_tests()
|
|||
git pull > /dev/null 2>&1
|
||||
|
||||
# Run tests
|
||||
echo "Running tests for YunoHost"
|
||||
info "Running tests for YunoHost ..."
|
||||
[ -e "/etc/yunohost/installed" ] || critical "You should run postinstallation before running tests :s."
|
||||
cd /ynh-dev/yunohost/
|
||||
py.test tests
|
||||
cd /ynh-dev/yunohost/src/yunohost
|
||||
|
|
Loading…
Reference in a new issue