Changeset View
Changeset View
Standalone View
Standalone View
Makefile.local
- This file was copied to swh/web/tests/resources/contents/code/filenames/Makefile.
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
run-django-webpack-memory-storages: build-webpack-dev run-migrations | run-django-webpack-memory-storages: build-webpack-dev run-migrations | ||||
python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.tests | python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.tests | ||||
test-full: | test-full: | ||||
$(TEST) $(TESTFULL_FLAGS) $(TEST_DIRS) | $(TEST) $(TESTFULL_FLAGS) $(TEST_DIRS) | ||||
test-frontend: build-webpack-dev run-migrations | test-frontend: build-webpack-dev run-migrations | ||||
python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.tests & sleep 10 && $(YARN) run cypress run && pkill -P $$! | 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 run" | ||||
test-frontend-ui: build-webpack-dev run-migrations | test-frontend-ui: build-webpack-dev run-migrations | ||||
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" | ||||