From 323ffe71b59bbe1675b5756780db5504b13a8766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andri=20Fr=C3=A4nkl?= <andri.fraenkl@unibas.ch> Date: Wed, 14 Dec 2022 09:51:49 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f42bf0e..1320def 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,9 @@ build-job: # First stage deployment and installation of dependencies. Coverage-test-job: # Test Stage stage: test # Starts when the above build stages finishes installing dependencies. script: + - pip install -r requirements.txt + - pip install -r requirements_dev.txt + - pip install -e . - coverage run --source tests -m pytest - coverage report -m - echo "Coverage successfully deployed." @@ -25,6 +28,9 @@ Coverage-test-job: # Test Stage Flake8/Pylint/mypy-test-job: # Test Stage stage: test # Deploys and runs all 3 linters. script: + - pip install -r requirements.txt + - pip install -r requirements_dev.txt + - pip install -e . - flake8 --docstring-convention google tests/ tests/ - pylint tests/ tests/ - mypy tests/ tests/ -- GitLab