Repository: incubator-airflow Updated Branches: refs/heads/master bc4720071 -> 4f52db317
[AIRFLOW-911] Add coloring and timing to tests Closes #2106 from bolkedebruin/profile_tests Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/4f52db31 Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/4f52db31 Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/4f52db31 Branch: refs/heads/master Commit: 4f52db317f16b431ef06e61ffebd8cc6aecd50c1 Parents: bc47200 Author: Bolke de Bruin <[email protected]> Authored: Sat Feb 25 22:10:14 2017 +0100 Committer: Bolke de Bruin <[email protected]> Committed: Sat Feb 25 22:10:14 2017 +0100 ---------------------------------------------------------------------- run_unit_tests.sh | 4 ++++ scripts/ci/requirements.txt | 2 ++ setup.py | 2 ++ 3 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/4f52db31/run_unit_tests.sh ---------------------------------------------------------------------- diff --git a/run_unit_tests.sh b/run_unit_tests.sh index b3ee074..d53842c 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -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 @@ -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 " http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/4f52db31/scripts/ci/requirements.txt ---------------------------------------------------------------------- diff --git a/scripts/ci/requirements.txt b/scripts/ci/requirements.txt index d969572..3e307f7 100644 --- a/scripts/ci/requirements.txt +++ b/scripts/ci/requirements.txt @@ -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 @@ -51,6 +52,7 @@ PySmbClient python-daemon python-dateutil redis +rednose requests requests-kerberos setproctitle http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/4f52db31/setup.py ---------------------------------------------------------------------- diff --git a/setup.py b/setup.py index 1e8f27e..87808d6 100644 --- a/setup.py +++ b/setup.py @@ -180,6 +180,8 @@ devel = [ '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
