-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
93 lines (85 loc) · 1.51 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
image: gitlab.version.fz-juelich.de:5555/azzam1/pong_deeprl:1.0
stages:
- Docker Image
- Static Analysis
- Unit Testing
- Coverage
before_script:
- pip install -e ./lib/jupong/gym-pong
- pip install -e ./lib/jupong/pong_basis
- pip install -e ./lib/UnrealCV/gym-unrealcv
- pip list
- python --version
dockerfile:
stage: Docker Image
tags:
- public-docker
script:
- python --version
- pip list
- echo "Success"
prospector:
stage: Static Analysis
tags:
- linux
allow_failure: true
script:
- source ./ci/prospector.sh
artifacts:
name: logs
when: always
paths:
- prospector_output.txt
- prospector.svg
bandit:
stage: Static Analysis
tags:
- linux
allow_failure: true
script:
- bash ./ci/bandit.sh
artifacts:
name: logs
when: always
paths:
- bandit_output.txt
- bandit.svg
mypy:
stage: Static Analysis
tags:
- linux
allow_failure: true
script:
- bash ./ci/mypy.sh
artifacts:
name: logs
when: always
paths:
- mypy_output.txt
- mypy.svg
pytest:
stage: Unit Testing
tags:
- linux
allow_failure: true
script:
- bash ./ci/pytest.sh
artifacts:
name: logs
when: always
paths:
- pytest_output.txt
- pytest.svg
coverage:
stage: Coverage
tags:
- linux
allow_failure: true
script:
- bash ./ci/coverage.sh
artifacts:
name: logs
when: always
paths:
- coverage_output.txt
- coverage.svg