diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a027e6d..8cd20b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,6 @@ stages: - test - deploy -include: - - template: Jobs/Code-Quality.gitlab-ci.yml - build-python-package: stage: build before_script: @@ -31,9 +28,6 @@ build-documentation: paths: - build/html/ -code_quality: - when: manual - test-python-package: stage: test before_script: @@ -48,6 +42,18 @@ test-python-package: coverage_format: cobertura path: coverage.xml +lint-python-package: + stage: test + before_script: + # TODO: Add flake8-gl-codeclimate as dependency + - pip install flake8-gl-codeclimate + - pip install uv + script: + - uv run --all-extras flake8 src/python_training_project --format gl-codeclimate --output-file gl-code-quality-report.json + artifacts: + reports: + codequality: gl-code-quality-report.json + deploy-python-package: stage: deploy before_script: