source:
ammosreader/.gitlab-ci.yml@
ca6263a
Last change on this file since ca6263a was ca6263a, checked in by , 3 years ago | |
---|---|
|
|
File size: 544 bytes |
Rev | Line | |
---|---|---|
[8073839] | 1 | image: python:latest |
[a81ab76] | 2 | |
3 | workflow: | |
4 | rules: | |
5 | - if: $CI_COMMIT_BRANCH | |
6 | ||
[3c396a4] | 7 | pages: |
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] | 19 | pytest: |
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.