Skip to content
Snippets Groups Projects
Commit 5b3022ef authored by Duncan Macleod's avatar Duncan Macleod Committed by Colm Talbot
Browse files

Run pip list installed before running CI tests

parent 52267eed
No related branches found
No related tags found
1 merge request!1057Run pip list installed before running CI tests
...@@ -44,6 +44,7 @@ containers: ...@@ -44,6 +44,7 @@ containers:
- apt-get -yqq install libhdf5-dev - apt-get -yqq install libhdf5-dev
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
- python -c "import bilby" - python -c "import bilby"
- python -c "import bilby.bilby_mcmc" - python -c "import bilby.bilby_mcmc"
- python -c "import bilby.core" - python -c "import bilby.core"
...@@ -126,6 +127,7 @@ python-3.7: ...@@ -126,6 +127,7 @@ python-3.7:
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python37 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python37
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
# Run pyflakes # Run pyflakes
- flake8 . - flake8 .
...@@ -147,6 +149,7 @@ python-3.8: ...@@ -147,6 +149,7 @@ python-3.8:
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
- pytest - pytest
# test example on python 3.9 # test example on python 3.9
...@@ -156,6 +159,7 @@ python-3.9: ...@@ -156,6 +159,7 @@ python-3.9:
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
- pytest - pytest
...@@ -166,6 +170,7 @@ python-3.7-samplers: ...@@ -166,6 +170,7 @@ python-3.7-samplers:
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python37 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python37
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
- pytest test/integration/sampler_run_test.py --durations 10 - pytest test/integration/sampler_run_test.py --durations 10
...@@ -176,6 +181,7 @@ python-3.8-samplers: ...@@ -176,6 +181,7 @@ python-3.8-samplers:
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
- pytest test/integration/sampler_run_test.py --durations 10 - pytest test/integration/sampler_run_test.py --durations 10
...@@ -186,6 +192,7 @@ python-3.9-samplers: ...@@ -186,6 +192,7 @@ python-3.9-samplers:
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
- pytest test/integration/sampler_run_test.py --durations 10 - pytest test/integration/sampler_run_test.py --durations 10
...@@ -197,6 +204,7 @@ integration-tests-python-3.7: ...@@ -197,6 +204,7 @@ integration-tests-python-3.7:
- schedules - schedules
script: script:
- python -m pip install . - python -m pip install .
- python -m pip list installed
# Run tests which are only done on schedule # Run tests which are only done on schedule
- pytest test/integration/example_test.py - pytest test/integration/example_test.py
...@@ -209,6 +217,7 @@ plotting-python-3.7: ...@@ -209,6 +217,7 @@ plotting-python-3.7:
script: script:
- python -m pip install . - python -m pip install .
- python -m pip install "ligo.skymap>=0.5.3" - python -m pip install "ligo.skymap>=0.5.3"
- python -m pip list installed
- pytest test/gw/plot_test.py - pytest test/gw/plot_test.py
...@@ -221,6 +230,7 @@ plotting-python-3.9: ...@@ -221,6 +230,7 @@ plotting-python-3.9:
script: script:
- python -m pip install . - python -m pip install .
- python -m pip install "ligo.skymap>=0.5.3" - python -m pip install "ligo.skymap>=0.5.3"
- python -m pip list installed
- pytest test/gw/plot_test.py - pytest test/gw/plot_test.py
......
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