gitlab-ci: adjust custom job

- split into two
- add codecov
This commit is contained in:
Marek Marczykowski-Górecki 2020-12-02 03:16:08 +01:00
parent e2de2bc0c4
commit 2266e432bf
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -6,14 +6,23 @@ include:
- project: 'QubesOS/qubes-continuous-integration'
file: '/r4.1/gitlab-vm.yml'
# WIP: user different docker images
tests:python3:
stage: tests
checks:tests:
stage: checks
variables:
ENABLE_SLOW_TESTS: 1
USER: gitlab-runner
before_script:
- sudo dnf install -y openssl
- pip3 install --quiet -r ci/requirements.txt
script:
- python3 setup.py build
- PYTHONPATH=test-packages pylint qubesadmin
- ./run-tests
after_script:
- codecov
checks:pylint:
stage: checks
before_script:
- pip3 install --quiet -r ci/requirements.txt
script:
- PYTHONPATH=test-packages pylint qubesadmin