mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
python: run linting in CI
This commit is contained in:
parent
f6ef7265ce
commit
9ada99d48b
2 changed files with 10 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue