source:
ammosreader/.gitlab-ci.yml@
a81ab76
Last change on this file since a81ab76 was a81ab76, checked in by , 3 years ago | |
---|---|
|
|
File size: 513 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 | |
16 | only: | |
17 | - main | |
18 | pytest: | |
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.