-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.gitlab-ci.yml
37 lines (35 loc) · 1.07 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
include:
- file: /r4.1/gitlab-base.yml
project: QubesOS/qubes-continuous-integration
- file: /r4.1/gitlab-dom0.yml
project: QubesOS/qubes-continuous-integration
- file: /r4.1/gitlab-vm.yml
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
checks:tests:
stage: checks
variables:
PYTEST_ADDOPTS: "--color=yes"
before_script: &before-script
- "PATH=$PATH:$HOME/.local/bin"
- sudo dnf install -y python3-pytest python3-coverage
- pip3 install --quiet -r ci/requirements.txt
script:
- ./run-tests.sh
after_script:
- "PATH=$PATH:$HOME/.local/bin"
- ci/codecov-wrapper
checks:pylint:
before_script:
- sudo dnf install -y python3-mypy
- pip3 install --quiet -r ci/requirements.txt
- mypy --install-types --non-interactive
script:
- python3 -m pylint --rcfile=.pylintrc qubesctap
- mypy qubesctap
stage: checks