Commit 008208e6 authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH

[ci] fix build commands order & test for built js existence

parent 79b583c0
Pipeline #19903 failed with stages
in 7 minutes and 42 seconds
......@@ -12,14 +12,14 @@ build:
run_exports:
- {{ pin_subpackage(name) }}
script:
- cd {{ project_dir }}/js
- npm install
- npm run build
- cd {{ project_dir }}
{% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip
{% endif %}
- python setup.py install --single-version-externally-managed --record record.txt
- cd {{ environ.get('RECIPE_DIR') }}/js
- npm install
- npm run build
requirements:
host:
......@@ -61,6 +61,8 @@ test:
- sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx]
- test -f $PREFIX/lib/python$PY_VER/site-packages/beat/editor/js/index.html
- test -f $PREFIX/lib/python$PY_VER/site-packages/beat/editor/js/main.js
{% if environ.get('BEAT_BROWSER_TESTS', False) %}
- cd {{ project_dir }}/conda/js
- npm install
......
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