AmmosSource
guix
Last change
on this file since 36dd1e9 was 36dd1e9, checked in by Enrico Schwass <ennoausberlin@…>, 3 years ago |
remove pip install of myself
|
-
Property mode
set to
100644
|
File size:
536 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 | - pdoc3 --html ammosreader -o public
|
---|
13 | artifacts:
|
---|
14 | paths:
|
---|
15 | - public/ammosreader
|
---|
16 | rules:
|
---|
17 | - if: $CI_COMMIT_BRANCH == "guix"
|
---|
18 |
|
---|
19 | pytest:
|
---|
20 | stage: test
|
---|
21 | script:
|
---|
22 | - cd tests
|
---|
23 | - pip install -U pytest
|
---|
24 | - pytest --junitxml=report.xml
|
---|
25 | artifacts:
|
---|
26 | when: always
|
---|
27 | reports:
|
---|
28 | junit: tests/report.xml
|
---|
29 | rules:
|
---|
30 | - if: $CI_COMMIT_BRANCH == "guix"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.