AmmosSource
guix
Last change
on this file since 1491313 was 1491313, checked in by Enrico Schwass <ennoausberlin@…>, 3 years ago |
replace sphinx with pdoc
|
-
Property mode
set to
100644
|
File size:
618 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 numpy pdoc3
|
---|
12 | - pip install git+http://enno:xrge6-j2NkpRwsi9BXQn@gitlab.kid.local/kidzg/ammosreader.git
|
---|
13 | - pdoc3 --html ammosreader -o public
|
---|
14 | artifacts:
|
---|
15 | paths:
|
---|
16 | - public
|
---|
17 | rules:
|
---|
18 | - if: $CI_COMMIT_BRANCH == "guix"
|
---|
19 |
|
---|
20 | pytest:
|
---|
21 | stage: test
|
---|
22 | script:
|
---|
23 | - cd tests
|
---|
24 | - pip install -U pytest
|
---|
25 | - pytest --junitxml=report.xml
|
---|
26 | artifacts:
|
---|
27 | when: always
|
---|
28 | reports:
|
---|
29 | junit: tests/report.xml
|
---|
30 | rules:
|
---|
31 | - if: $CI_COMMIT_BRANCH == "guix"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.