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
|
Line | |
---|
1 | image: python:latest
|
---|
2 |
|
---|
3 | workflow:
|
---|
4 | rules:
|
---|
5 | - if: $CI_COMMIT_BRANCH
|
---|
6 |
|
---|
7 | pages:
|
---|
8 | stage: deploy
|
---|
9 | script:
|
---|
10 | - python3 --version
|
---|
11 | - pip install --upgrade sphinx numpy sphinx_adc_theme
|
---|
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
|
---|
22 | - pip install -U pytest
|
---|
23 | - pytest --junitxml=report.xml
|
---|
24 | artifacts:
|
---|
25 | when: always
|
---|
26 | reports:
|
---|
27 | junit: tests/report.xml
|
---|
28 | rules:
|
---|
29 | - if: $CI_COMMIT_BRANCH == "guix"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.