mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-15 19:14:52 +01:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -6,8 +6,11 @@ stages: # List of stages for jobs, and their order of execution
|
|||||||
lint:
|
lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: python:3.12
|
image: python:3.12
|
||||||
|
before_script:
|
||||||
|
- python3 -m pip install --user flake8 black pylint
|
||||||
|
- export PATH="$PATH:/home/gitlab-runner/.local/bin"
|
||||||
|
# - echo "PATH is now: $PATH"
|
||||||
script:
|
script:
|
||||||
- pip install flake8 black pylint --break-system-packages
|
|
||||||
- flake8 .
|
- flake8 .
|
||||||
- black --check .
|
- black --check .
|
||||||
- pylint portainer.py
|
- pylint portainer.py
|
||||||
|
|||||||
Reference in New Issue
Block a user