mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 00:55:06 +03:00
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:
parent
b7a6aa01a3
commit
94b440e7f5
6
Makefile
6
Makefile
@ -317,8 +317,8 @@ develop:
|
||||
pip uninstall -y awx; \
|
||||
$(PYTHON) setup.py develop; \
|
||||
else \
|
||||
sudo pip uninstall -y awx; \
|
||||
sudo $(PYTHON) setup.py develop; \
|
||||
pip uninstall -y awx; \
|
||||
$(PYTHON) setup.py develop; \
|
||||
fi
|
||||
|
||||
version_file:
|
||||
@ -448,7 +448,7 @@ pylint: reports
|
||||
|
||||
check: flake8 pep8 # pyflakes pylint
|
||||
|
||||
TEST_DIRS=awx/main/tests
|
||||
TEST_DIRS ?= awx/main/tests
|
||||
# Run all API unit tests.
|
||||
test:
|
||||
@if [ "$(VENV_BASE)" ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user