diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f42bf0e20a1975c12e15f56d4c45e3a39f656882..1320def8cbd5c5552cd98bebd1298ef10f16ee7a 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/