diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 742e258f9..cb619c625 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -143,6 +143,14 @@ build:docs: # Stage: test ############################################################################## +test:flake8: + stage: test + script: + - flake8 python/ + image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG} + tags: + - docker + test:unit: stage: test dependencies: diff --git a/packaging/docker/Dockerfile.dev b/packaging/docker/Dockerfile.dev index 4a2edfd64..4d00414d4 100644 --- a/packaging/docker/Dockerfile.dev +++ b/packaging/docker/Dockerfile.dev @@ -62,7 +62,8 @@ RUN dnf -y install \ # Tools for debugging, coverage, profiling RUN pip install \ gcovr \ - protobuf + protobuf \ + flake8 # Dependencies RUN dnf -y install \