Skip to content
Snippets Groups Projects
Verified Commit 1f537f76 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

ci: added some basic setup tests

to make sure the core dependencies are specified properly
parent d9d9d5b1
No related branches found
No related tags found
No related merge requests found
Pipeline #48061 failed
......@@ -13,6 +13,31 @@ stages:
- test
- deploy
.test-python: &test-python
stage: test
image: python
before_script:
# this is required because pytables doesn't use a wheel on py37
- apt-get -yqq update
- apt-get -yqq install libhdf5-dev
script:
- python -m pip install .
- python -c "import bilby"
- python -c "import bilby.core"
- python -c "import bilby.gw"
- python -c "import bilby.hyper"
- python -c "import cli_bilby"
# test basic setup on python2
basic-2.7:
<<: *test-python
image: python:2.7
# test basic setup on python3
basic-3.7:
<<: *test-python
image: python:3.7
# test example on python 2
python-2.7:
stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment