-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
.gitlab-ci.yml
36 lines (36 loc) · 1.03 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
include:
- 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
project: QubesOS/qubes-continuous-integration
checks:pylint:
before_script:
- sudo dnf install -y python3-rpm python3-xlib
- pip3 install --quiet -r ci/requirements.txt
script:
- export PATH="$HOME/.local/bin:$PATH"
- PYTHONPATH=test-packages pylint --extension-pkg-whitelist=rpm,lxml qubesadmin
stage: checks
tags:
- docker
checks:tests:
after_script:
- ci/codecov-wrapper
before_script:
- sudo dnf install -y openssl python3-rpm sequoia-sqv python3-xlib libnotify
xorg-x11-server-Xvfb
- pip3 install --quiet -r ci/requirements.txt
- git config --global --add safe.directory "$PWD"
script:
- python3 setup.py build
# simulate "normal" qubes env for most tests
- xvfb-run ./run-tests
- xvfb-run python3 -m coverage xml
stage: checks
tags:
- docker
variables:
ENABLE_SLOW_TESTS: 1
USER: gitlab-runner