Changeset View
Changeset View
Standalone View
Standalone View
Makefile.local
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
test-frontend-ui-cmd: build-webpack-test run-migrations-test | test-frontend-ui-cmd: build-webpack-test run-migrations-test | ||||
bash -c "trap 'trap - SIGINT SIGTERM ERR EXIT; jobs -p | head -1 | xargs pkill -P' SIGINT SIGTERM ERR EXIT; python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.tests & sleep 10 && $(YARN) run cypress open" | bash -c "trap 'trap - SIGINT SIGTERM ERR EXIT; jobs -p | head -1 | xargs pkill -P' SIGINT SIGTERM ERR EXIT; python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.tests & sleep 10 && $(YARN) run cypress open" | ||||
test-frontend-ui: export CYPRESS_SKIP_SLOW_TESTS=1 | test-frontend-ui: export CYPRESS_SKIP_SLOW_TESTS=1 | ||||
test-frontend-ui: test-frontend-ui-cmd | test-frontend-ui: test-frontend-ui-cmd | ||||
test-frontend-full-ui: export CYPRESS_SKIP_SLOW_TESTS=0 | test-frontend-full-ui: export CYPRESS_SKIP_SLOW_TESTS=0 | ||||
test-frontend-full-ui: test-frontend-ui-cmd | test-frontend-full-ui: test-frontend-ui-cmd | ||||
# Override default rule to make sure DJANGO env var is properly set. It | |||||
# *should* work without any override thanks to the mypy django-stubs plugin, | |||||
# but it currently doesn't; see | |||||
# https://github.com/typeddjango/django-stubs/issues/166 | |||||
typecheck: | |||||
DJANGO_SETTINGS_MODULE=swh.web.settings.development $(MYPY) $(MYPYFLAGS) swh |