Skip to content
Snippets Groups Projects
Commit af83b626 authored by Thomas Holene Løkkeborg's avatar Thomas Holene Løkkeborg
Browse files

#22 la til smoke-test for pdoc

parent 676e7662
No related branches found
No related tags found
1 merge request!6#22 la til smoke-test for pdoc
Pipeline #70978 passed
...@@ -55,7 +55,19 @@ job_test_gui_ubuntu: ...@@ -55,7 +55,19 @@ job_test_gui_ubuntu:
- python3 --version - python3 --version
- DISPLAY=':10.0' python3 -m unittest test.test_main - DISPLAY=':10.0' python3 -m unittest test.test_main
# name **må** være pages job_pages_smoke_test:
stage: deploy
image: morkolai/soitool-ci
script:
- mkdir public
- pdoc --version
- pdoc soitool --html
- mv ./html/soitool/* ./public
# never run for master branch
except:
- master
# name has to be pages
pages: pages:
stage: deploy stage: deploy
image: morkolai/soitool-ci image: morkolai/soitool-ci
...@@ -67,6 +79,7 @@ pages: ...@@ -67,6 +79,7 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
# only run for master branch
only: only:
- master - master
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