source:
ammosreader/.gitlab-ci.yml@
ab26682
| Last change on this file since ab26682 was ab26682, checked in by , 4 years ago | |
|---|---|
|
|
| File size: 432 bytes | |
| Rev | Line | |
|---|---|---|
| [8073839] | 1 | image: python:latest |
| [3c396a4] | 2 | pages: |
| 3 | stage: deploy | |
| 4 | script: | |
| [050ace0] | 5 | - python3 --version |
| [2d2c629] | 6 | - pip install -U sphinx |
| [3c396a4] | 7 | - sphinx-build -b html doc/rst/ public |
| 8 | artifacts: | |
| 9 | paths: | |
| 10 | - public | |
| 11 | only: | |
| 12 | - main | |
| 13 | pytest: | |
| 14 | stage: test | |
| 15 | script: | |
| 16 | - cd tests | |
| [ab26682] | 17 | - pip install -U pytest |
| 18 | - pip install --upgrade sphinx_adc_theme | |
| [3c396a4] | 19 | - pytest --junitxml=report.xml |
| 20 | artifacts: | |
| 21 | when: always | |
| 22 | reports: | |
| [bca0f7e] | 23 | junit: tests/report.xml |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/playground/chrome/site/playground.png)