mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -02:30
Allow unittests from containers to work
Don't `sudo` for me, I'll `sudo` when I need it, yo. This appears to only affect the non-container based development workflow. For folks that still need to `make develop` outside of a container, please use `sudo make develop`
This commit is contained in:
6
Makefile
6
Makefile
@@ -317,8 +317,8 @@ develop:
|
|||||||
pip uninstall -y awx; \
|
pip uninstall -y awx; \
|
||||||
$(PYTHON) setup.py develop; \
|
$(PYTHON) setup.py develop; \
|
||||||
else \
|
else \
|
||||||
sudo pip uninstall -y awx; \
|
pip uninstall -y awx; \
|
||||||
sudo $(PYTHON) setup.py develop; \
|
$(PYTHON) setup.py develop; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
version_file:
|
version_file:
|
||||||
@@ -448,7 +448,7 @@ pylint: reports
|
|||||||
|
|
||||||
check: flake8 pep8 # pyflakes pylint
|
check: flake8 pep8 # pyflakes pylint
|
||||||
|
|
||||||
TEST_DIRS=awx/main/tests
|
TEST_DIRS ?= awx/main/tests
|
||||||
# Run all API unit tests.
|
# Run all API unit tests.
|
||||||
test:
|
test:
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user