source:
ammosreader/.gitlab-ci.yml@
1cb301b
Last change on this file since 1cb301b was 1cb301b, checked in by , 3 years ago | |
---|---|
|
|
File size: 632 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 |
[1491313] | 11 | - pip install --upgrade numpy pdoc3 |
[eab48d0] | 12 | - pip install git+http://enno:xrge6-j2NkpRwsi9BXQn@gitlab.kid.local/kidzg/ammosreader.git |
[1cb301b] | 13 | - cd ammosreader |
14 | - pdoc3 --html . -o ../public | |
[3c396a4] | 15 | artifacts: |
16 | paths: | |
17 | - public | |
[ca6263a] | 18 | rules: |
19 | - if: $CI_COMMIT_BRANCH == "guix" | |
20 | ||
[3c396a4] | 21 | pytest: |
22 | stage: test | |
23 | script: | |
24 | - cd tests | |
[ab26682] | 25 | - pip install -U pytest |
[3c396a4] | 26 | - pytest --junitxml=report.xml |
27 | artifacts: | |
28 | when: always | |
29 | reports: | |
[bca0f7e] | 30 | junit: tests/report.xml |
[a81ab76] | 31 | rules: |
32 | - if: $CI_COMMIT_BRANCH == "guix" |
Note:
See TracBrowser
for help on using the repository browser.