From 0a6e5143a4c79c35b2f15e8461dfae7740680769 Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@ligo.org> Date: Wed, 2 Feb 2022 21:42:08 +0000 Subject: [PATCH] Fix CI workflow --- .gitlab-ci.yml | 17 +++++++---------- README.rst | 2 +- test/bilby_mcmc/__init__.py | 0 3 files changed, 8 insertions(+), 11 deletions(-) create mode 100644 test/bilby_mcmc/__init__.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84a6aafd3..57415e7d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,21 +123,20 @@ python-3.8: <<: *unit-test needs: ["basic-3.8", "precommits-py3.8"] image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38 + +python-3.9: + <<: *unit-test + needs: ["basic-3.9", "precommits-py3.9"] + image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 after_script: - coverage html - coverage xml - - coverage-badge -o coverage_badge.svg -f - artifacts: reports: cobertura: coverage.xml paths: - htmlcov/ - -python-3.9: - <<: *unit-test - needs: ["basic-3.9", "precommits-py3.9"] - image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 + expire_in: 30 days # add back when 3.10 image is available #python-3.10: @@ -211,7 +210,6 @@ plotting-python-3.9: docs: stage: docs - needs: ["python-3.9"] image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 script: # Make the documentation @@ -235,11 +233,10 @@ docs: deploy-docs: stage: deploy - needs: ["docs"] + needs: ["docs", "python-3.9"] script: - mkdir public/ - mv htmlcov/ public/ - - mv coverage_badge.svg public/ - mv docs/_build/html/* public/ artifacts: paths: diff --git a/README.rst b/README.rst index bddce5f89..37b98613e 100644 --- a/README.rst +++ b/README.rst @@ -73,7 +73,7 @@ as requested in their associated documentation. .. |pipeline status| image:: https://git.ligo.org/lscsoft/bilby/badges/master/pipeline.svg :target: https://git.ligo.org/lscsoft/bilby/commits/master -.. |coverage report| image:: https://lscsoft.docs.ligo.org/bilby/coverage_badge.svg +.. |coverage report| image:: https://git.ligo.org/lscsoft/bilby/badges/master/coverage.svg :target: https://lscsoft.docs.ligo.org/bilby/htmlcov/ .. |pypi| image:: https://badge.fury.io/py/bilby.svg :target: https://pypi.org/project/bilby/ diff --git a/test/bilby_mcmc/__init__.py b/test/bilby_mcmc/__init__.py new file mode 100644 index 000000000..e69de29bb -- GitLab