From 2266e432bfbaba520c65e79335e4c23a0ce05af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 2 Dec 2020 03:16:08 +0100 Subject: [PATCH] gitlab-ci: adjust custom job - split into two - add codecov --- .gitlab-ci.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e7cc91..7abaf42 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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