Files
django-admin-confirm-briq/Makefile
T
Thu Trang Pham 14dc6268b0 fix(Issue-27): Confirmations not triggered on models with validation failures (#30)
* feat(ISSUE-27): Added some validation integration tests

* feat(ISSUE-27): Integration tests for validations

* feat(ISSUE-27): Unable to select autocomplete with selenium

* feat(ISSUE-27): Fix file caching with proper FileCache

* feat(ISSUE-27): Some minor tweaks

* feat(ISSUE-27): Try reviewdog

* feat(ISSUE-27): Remove noisy linting

* feat(ISSUE-27): Black format

* feat(ISSUE-27): Adding some simple file cache tests

* feat(ISSUE-27): Some cleaning up

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-04-28 12:03:16 -07:00

51 lines
1.3 KiB
Makefile

run:
./tests/manage.py runserver
test:
coverage run --source admin_confirm --branch -m pytest --ignore=admin_confirm/tests/integration
coverage report -m
test-all:
coverage run --source admin_confirm --branch -m pytest
coverage report -m
t:
python -m pytest --last-failed -x
test-integration:
coverage run --source admin_confirm --branch -m pytest --ignore=admin_confirm/tests/unit
docker-exec:
docker-compose exec -T web ${COMMAND}
check-readme:
python -m readme_renderer README.md -o /tmp/README.html
migrate:
./tests/manage.py makemigrations
./tests/manage.py migrate
shell:
./tests/manage.py shell
dbshell:
./tests/manage.py dbshell
package:
python3 setup.py sdist bdist_wheel
upload-testpypi:
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)-*
i-have-tested-with-testpypi-and-am-ready-to-release:
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)-*
install-testpypi:
pip uninstall django_admin_confirm
python -m pip install --index-url https://test.pypi.org/simple/ django_admin_confirm==${VERSION}
testpypi:
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
pip uninstall django_admin_confirm
python -m pip install --index-url https://test.pypi.org/simple/ django_admin_confirm==${VERSION}