Skip to content
Snippets Groups Projects
Commit 0a6e5143 authored by Colm Talbot's avatar Colm Talbot Committed by Gregory Ashton
Browse files

Fix CI workflow

parent 8585cab9
No related branches found
No related tags found
1 merge request!1065Fix CI workflow
...@@ -123,21 +123,20 @@ python-3.8: ...@@ -123,21 +123,20 @@ python-3.8:
<<: *unit-test <<: *unit-test
needs: ["basic-3.8", "precommits-py3.8"] needs: ["basic-3.8", "precommits-py3.8"]
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python38 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: after_script:
- coverage html - coverage html
- coverage xml - coverage xml
- coverage-badge -o coverage_badge.svg -f
artifacts: artifacts:
reports: reports:
cobertura: coverage.xml cobertura: coverage.xml
paths: paths:
- htmlcov/ - htmlcov/
expire_in: 30 days
python-3.9:
<<: *unit-test
needs: ["basic-3.9", "precommits-py3.9"]
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39
# add back when 3.10 image is available # add back when 3.10 image is available
#python-3.10: #python-3.10:
...@@ -211,7 +210,6 @@ plotting-python-3.9: ...@@ -211,7 +210,6 @@ plotting-python-3.9:
docs: docs:
stage: docs stage: docs
needs: ["python-3.9"]
image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39 image: containers.ligo.org/lscsoft/bilby/v2-bilby-python39
script: script:
# Make the documentation # Make the documentation
...@@ -235,11 +233,10 @@ docs: ...@@ -235,11 +233,10 @@ docs:
deploy-docs: deploy-docs:
stage: deploy stage: deploy
needs: ["docs"] needs: ["docs", "python-3.9"]
script: script:
- mkdir public/ - mkdir public/
- mv htmlcov/ public/ - mv htmlcov/ public/
- mv coverage_badge.svg public/
- mv docs/_build/html/* public/ - mv docs/_build/html/* public/
artifacts: artifacts:
paths: paths:
......
...@@ -73,7 +73,7 @@ as requested in their associated documentation. ...@@ -73,7 +73,7 @@ as requested in their associated documentation.
.. |pipeline status| image:: https://git.ligo.org/lscsoft/bilby/badges/master/pipeline.svg .. |pipeline status| image:: https://git.ligo.org/lscsoft/bilby/badges/master/pipeline.svg
:target: https://git.ligo.org/lscsoft/bilby/commits/master :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/ :target: https://lscsoft.docs.ligo.org/bilby/htmlcov/
.. |pypi| image:: https://badge.fury.io/py/bilby.svg .. |pypi| image:: https://badge.fury.io/py/bilby.svg
:target: https://pypi.org/project/bilby/ :target: https://pypi.org/project/bilby/
......
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