Skip to content
Snippets Groups Projects

Update .gitlab-ci.yml

Merged Andri Fränkl requested to merge andri.fraenkl-main-patch-89950 into main
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -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/
Loading