feng-tao commented on a change in pull request #4826: [AIRFLOW-4001] Update docs about how to run tests URL: https://github.com/apache/airflow/pull/4826#discussion_r261899455
########## File path: CONTRIBUTING.md ########## @@ -160,18 +160,17 @@ There are three ways to setup an Apache Airflow development environment. ```bash docker-compose -f scripts/ci/docker-compose.yml run airflow-testing bash # From the container - pip install -e .[devel] - # Run all the tests with python and mysql through tox - pip install tox - tox -e py35-backend_mysql + export TOX_ENV=py27-backend_mysql-env_docker + /app/scripts/ci/run-ci.sh ``` If you wish to run individual tests inside of Docker environment you can do as follows: ```bash - # From the container (with your desired environment) with druid hook - tox -e py35-backend_mysql -- tests/hooks/test_druid_hook.py Review comment: does this line doesn't work? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
