Browse Source

Make tests skippable, skip 2nd run of tests for sync/reset wrapper

No reason to test your already tested testage.
beta
parent
commit
89be24e81d
Signed by untrusted user: hristoast GPG Key ID: 5FC7664AD47AA1C5
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      Makefile
  2. +1
    -1
      bin/sync-code-reset-db.sh

+ 2
- 0
Makefile View File

@ -60,7 +60,9 @@ start-xvfb-ci:
./bin/start_xvfb.sh
test: ## Run all unit and selenium tests
ifndef SKIPTESTS
@./momw/manage.py test momw.tests utilz.tests
endif
test-momw: ## Run momw unit and selenium tests
@./momw/manage.py test momw.tests


+ 1
- 1
bin/sync-code-reset-db.sh View File

@ -8,5 +8,5 @@ if [ -z "${_hosts}" ]; then
fi
make sync HOSTS="${_hosts}"
make django-resetdb HOSTS="${_hosts}"
SKIPTESTS=true make django-resetdb HOSTS="${_hosts}"
make memcached-restart HOSTS="${_hosts}"

Loading…
Cancel
Save