Commit 09f09c64 authored by Samuel GAIST's avatar Samuel GAIST

[conda-build] Reworked coverage report handling to match current version

parent ba5eca98
......@@ -64,7 +64,7 @@ test:
commands:
- worker --help
- export BEAT_EXAMPLE_ROOT={{ project_dir }}/3rdparty/
- export COVERAGE_FILE=coverage.django
- export COVERAGE_FILE=.coverage.django
- export NOSE_COVER_PACKAGE=beat.web
- pushd {{ project_dir }}
......@@ -86,9 +86,10 @@ test:
- coverage run --source={{ project_dir }} manage.py test --settings=beat.web.settings.ci -v 2 --exclude-tag ".*test_docker.*"
{% endif %}
- export BEAT_CMDLINE_TEST_PLATFORM=django://beat.web.settings.ci
- export COVERAGE_FILE=coverage.cmdline
- export COVERAGE_FILE=.coverage.cmdline
- export NOSE_WITH_COVERAGE=1
- rm -f test.sql3 manage.py
- rm -r test_prefix
{% if environ.get('BEAT_DOCKER_TESTS', False) %}
- nosetests -sv beat.cmdline
{% else %}
......@@ -96,6 +97,9 @@ test:
{% endif %}
- unset COVERAGE_FILE
- coverage combine .coverage.django .coverage.cmdline
- coverage report
- rm -r $BEAT_EXAMPLE_ROOT
- python -m pip install --no-deps --ignore-installed -r test_requirements.txt
- sphinx-build -aEb doctest {{ project_dir }}/doc/admin sphinx/admin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment