gitlab-ci: adjust custom job
- split into two - add codecov
This commit is contained in:
parent
e2de2bc0c4
commit
2266e432bf
@ -6,14 +6,23 @@ include:
|
|||||||
- project: 'QubesOS/qubes-continuous-integration'
|
- project: 'QubesOS/qubes-continuous-integration'
|
||||||
file: '/r4.1/gitlab-vm.yml'
|
file: '/r4.1/gitlab-vm.yml'
|
||||||
|
|
||||||
# WIP: user different docker images
|
checks:tests:
|
||||||
tests:python3:
|
stage: checks
|
||||||
stage: tests
|
|
||||||
variables:
|
variables:
|
||||||
ENABLE_SLOW_TESTS: 1
|
ENABLE_SLOW_TESTS: 1
|
||||||
|
USER: gitlab-runner
|
||||||
before_script:
|
before_script:
|
||||||
|
- sudo dnf install -y openssl
|
||||||
- pip3 install --quiet -r ci/requirements.txt
|
- pip3 install --quiet -r ci/requirements.txt
|
||||||
script:
|
script:
|
||||||
- python3 setup.py build
|
- python3 setup.py build
|
||||||
- PYTHONPATH=test-packages pylint qubesadmin
|
|
||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
after_script:
|
||||||
|
- codecov
|
||||||
|
|
||||||
|
checks:pylint:
|
||||||
|
stage: checks
|
||||||
|
before_script:
|
||||||
|
- pip3 install --quiet -r ci/requirements.txt
|
||||||
|
script:
|
||||||
|
- PYTHONPATH=test-packages pylint qubesadmin
|
||||||
|
Loading…
Reference in New Issue
Block a user