Skip to content

Commit

Permalink
[AIRFLOW-911] Add coloring and timing to tests
Browse files Browse the repository at this point in the history
Closes apache#2106 from bolkedebruin/profile_tests
  • Loading branch information
bolkedebruin committed Feb 25, 2017
1 parent bc47200 commit 4f52db3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ if [ "${TRAVIS}" ]; then
--cover-package=airflow \
--cover-html-dir=airflow/www/static/coverage \
--with-ignore-docstrings \
--rednose \
--with-timer \
-v \
--logging-level=DEBUG "
fi
Expand All @@ -68,6 +70,8 @@ else
--cover-package=airflow \
--cover-html-dir=airflow/www/static/coverage \
--with-ignore-docstrings \
--rednose \
--with-timer \
-s \
-v \
--logging-level=DEBUG "
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ nose
nose-exclude
nose-ignore-docstring==0.2
nose-parameterized
nose-timer
pandas
psutil>=4.2.0, <5.0.0
psycopg2
Expand All @@ -51,6 +52,7 @@ PySmbClient
python-daemon
python-dateutil
redis
rednose
requests
requests-kerberos
setproctitle
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ def write_version(filename=os.path.join(*['airflow',
'nose',
'nose-ignore-docstring==0.2',
'nose-parameterized',
'nose-timer',
'rednose'
]
devel_minreq = devel + mysql + doc + password + s3 + cgroups
devel_hadoop = devel_minreq + hive + hdfs + webhdfs + kerberos
Expand Down

0 comments on commit 4f52db3

Please sign in to comment.