Update .gitlab-ci.yml file

This commit is contained in:
2025-12-05 21:40:20 +01:00
parent 530be46a61
commit 8fb39ddfce

View File

@@ -7,11 +7,12 @@ variables:
GIT_SSH_COMMAND: "ssh -i /home/gitlab-runner/.ssh/id_rsa -o IdentitiesOnly=yes"
lint:
stage: lint
image: python:3.12
before_script:
- python3 -m pip install --break-system-packages flake8 black pylint tabulate prompt_toolkit
- export PATH="$PATH:/home/gitlab-runner/.local/bin"
# - echo "PATH is now: $PATH"
# image: python:3.12
image: r.sectorq.eu/jaydee/portainer:latest
# before_script:
# - python3 -m pip install --break-system-packages flake8 black pylint tabulate prompt_toolkit
# - export PATH="$PATH:/home/gitlab-runner/.local/bin"
# # - echo "PATH is now: $PATH"
script:
- flake8 .
- black --check .