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:
<<: *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:
......
......@@ -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/
......
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