Skip to content
Snippets Groups Projects
Commit 323ffe71 authored by Andri Fränkl's avatar Andri Fränkl
Browse files

Update .gitlab-ci.yml

parent 81112412
No related branches found
No related tags found
1 merge request!38Update .gitlab-ci.yml
Pipeline #14938 failed
...@@ -18,6 +18,9 @@ build-job: # First stage deployment and installation of dependencies. ...@@ -18,6 +18,9 @@ build-job: # First stage deployment and installation of dependencies.
Coverage-test-job: # Test Stage Coverage-test-job: # Test Stage
stage: test # Starts when the above build stages finishes installing dependencies. stage: test # Starts when the above build stages finishes installing dependencies.
script: script:
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
- pip install -e .
- coverage run --source tests -m pytest - coverage run --source tests -m pytest
- coverage report -m - coverage report -m
- echo "Coverage successfully deployed." - echo "Coverage successfully deployed."
...@@ -25,6 +28,9 @@ Coverage-test-job: # Test Stage ...@@ -25,6 +28,9 @@ Coverage-test-job: # Test Stage
Flake8/Pylint/mypy-test-job: # Test Stage Flake8/Pylint/mypy-test-job: # Test Stage
stage: test # Deploys and runs all 3 linters. stage: test # Deploys and runs all 3 linters.
script: script:
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
- pip install -e .
- flake8 --docstring-convention google tests/ tests/ - flake8 --docstring-convention google tests/ tests/
- pylint tests/ tests/ - pylint tests/ tests/
- mypy tests/ tests/ - mypy tests/ tests/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment