mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-26 02:58:11 +08:00
20 lines
497 B
YAML
20 lines
497 B
YAML
language: python
|
|
python:
|
|
- "3.6"
|
|
node_js:
|
|
- "8"
|
|
cache:
|
|
pip: true
|
|
install:
|
|
- set -eo pipefail
|
|
- pip install flake8 httpie
|
|
- ./bin/build-client
|
|
- python setup.py install
|
|
script:
|
|
- set -eo pipefail
|
|
- flake8 server/app/
|
|
- pytest -s server/test/test_filter.py server/test/test_scanpy_engine.py
|
|
- cellxgene &
|
|
- for i in {1..90}; do if http :5005/api/v0.1/initialize > /dev/null; then break; else echo "Waiting for server..."; sleep 1; fi; done
|
|
- pytest server/test/test_api.py
|