source: ammosreader/.gitlab-ci.yml@ 38d2a8b

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

fix gitlab.yaml

  • Property mode set to 100644
File size: 544 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
[ca6263a]16 rules:
17 - if: $CI_COMMIT_BRANCH == "guix"
18
[3c396a4]19pytest:
20 stage: test
21 script:
22 - cd tests
[ab26682]23 - pip install -U pytest
[3c396a4]24 - pytest --junitxml=report.xml
25 artifacts:
26 when: always
27 reports:
[bca0f7e]28 junit: tests/report.xml
[a81ab76]29 rules:
30 - if: $CI_COMMIT_BRANCH == "guix"
Note: See TracBrowser for help on using the repository browser.