source: ammosreader/.gitlab-ci.yml@ a81ab76

AmmosSource guix
Last change on this file since a81ab76 was a81ab76, checked in by Enrico Schwass <ennoausberlin@…>, 3 years ago

generate doc for the guix branch only

  • Property mode set to 100644
File size: 513 bytes
RevLine 
[8073839]1image: python:latest
[a81ab76]2
3workflow:
4 rules:
5 - if: $CI_COMMIT_BRANCH
6
[3c396a4]7pages:
8 stage: deploy
9 script:
[050ace0]10 - python3 --version
[d954282]11 - pip install --upgrade sphinx numpy sphinx_adc_theme
[3c396a4]12 - sphinx-build -b html doc/rst/ public
13 artifacts:
14 paths:
15 - public
16 only:
17 - main
18pytest:
19 stage: test
20 script:
21 - cd tests
[ab26682]22 - pip install -U pytest
[3c396a4]23 - pytest --junitxml=report.xml
24 artifacts:
25 when: always
26 reports:
[bca0f7e]27 junit: tests/report.xml
[a81ab76]28 rules:
29 - if: $CI_COMMIT_BRANCH == "guix"
Note: See TracBrowser for help on using the repository browser.