From 5b3022ef83178317d903d964a45a57835042fee6 Mon Sep 17 00:00:00 2001 From: Duncan Macleod <duncan.macleod@ligo.org> Date: Tue, 18 Jan 2022 14:52:19 +0000 Subject: [PATCH] Run pip list installed before running CI tests --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b3bbd2da..ed69b6dd8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,7 @@ containers: - apt-get -yqq install libhdf5-dev script: - python -m pip install . + - python -m pip list installed - python -c "import bilby" - python -c "import bilby.bilby_mcmc" - python -c "import bilby.core" @@ -126,6 +127,7 @@ python-3.7: image: containers.ligo.org/lscsoft/bilby/v2-bilby-python37 script: - python -m pip install . + - python -m pip list installed # Run pyflakes - flake8 . @@ -147,6 +149,7 @@ python-3.8: image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38 script: - python -m pip install . + - python -m pip list installed - pytest # test example on python 3.9 @@ -156,6 +159,7 @@ python-3.9: image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 script: - python -m pip install . + - python -m pip list installed - pytest @@ -166,6 +170,7 @@ python-3.7-samplers: image: containers.ligo.org/lscsoft/bilby/v2-bilby-python37 script: - python -m pip install . + - python -m pip list installed - pytest test/integration/sampler_run_test.py --durations 10 @@ -176,6 +181,7 @@ python-3.8-samplers: image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38 script: - python -m pip install . + - python -m pip list installed - pytest test/integration/sampler_run_test.py --durations 10 @@ -186,6 +192,7 @@ python-3.9-samplers: image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 script: - python -m pip install . + - python -m pip list installed - pytest test/integration/sampler_run_test.py --durations 10 @@ -197,6 +204,7 @@ integration-tests-python-3.7: - schedules script: - python -m pip install . + - python -m pip list installed # Run tests which are only done on schedule - pytest test/integration/example_test.py @@ -209,6 +217,7 @@ plotting-python-3.7: script: - python -m pip install . - python -m pip install "ligo.skymap>=0.5.3" + - python -m pip list installed - pytest test/gw/plot_test.py @@ -221,6 +230,7 @@ plotting-python-3.9: script: - python -m pip install . - python -m pip install "ligo.skymap>=0.5.3" + - python -m pip list installed - pytest test/gw/plot_test.py -- GitLab