From ee8f597b4e5b8884880b273728ae767e8df84f5b Mon Sep 17 00:00:00 2001 From: Jaden Diefenbaugh <jaden.diefenbaugh@idiap.ch> Date: Mon, 29 Oct 2018 13:33:21 -0700 Subject: [PATCH] get tests running on updated CI, closes #164 --- conda/meta.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 127c99b0..8880681b 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -59,11 +59,10 @@ test: - beat editor --help - beat editor serve --help - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} - {% if environ.get('BEAT_BROWSER_TESTS') %} - - cd {{ project_dir }}/conda/js - - npm install - - npm test - - cd - + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then npm install; fi + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then npm test; fi + - if [ -n "${BEAT_DOCKER_TESTS}" ]; then cd -; fi {% endif %} - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx -- GitLab