forked from HW42/qubes-app-linux-split-gpg2
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
50 lines (46 loc) · 1.23 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
include:
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.2/gitlab-base.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.2/gitlab-host.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.2/gitlab-vm.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.3/gitlab-base.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.3/gitlab-host.yml'
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.3/gitlab-vm.yml'
checks:tests:
stage: checks
tags:
- docker
variables:
ENABLE_SLOW_TESTS: 1
USER: gitlab-runner
before_script:
- git config --global --add safe.directory "${CI_PROJECT_DIR}"
- pip3 install --quiet -r ci/requirements.txt
script:
- python3 setup.py build
- ./run-tests.sh --coverage
after_script:
- ci/codecov-wrapper
checks:pylint:
stage: checks
tags:
- docker
before_script:
- pip3 install --quiet -r ci/requirements.txt
- "PATH=$PATH:$HOME/.local/bin"
script:
- pylint splitgpg2
checks:mypy:
stage: checks
tags:
- docker
before_script:
- pip3 install --quiet -r ci/requirements.txt
script:
- PATH=$PATH:$HOME/.local/bin
- mypy --strict splitgpg2