Commit d9f01ca4 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merge branch 'noc-flake8-junit' into 'master'

flake8 JUnit XML report

See merge request noc/noc!3262
parents c5d42d67 2528b615
......@@ -29,7 +29,8 @@ flake8:
- >
if [ ! -z "$FLIST" ];
then
flake8 $FLIST;
mkdir -p build/reports;
flake8 --format junit-xml $FLIST > build/reports/flake8-junit.xml || flake8 $FLIST;
else
echo "No files to lint"
true;
......@@ -42,6 +43,10 @@ flake8:
- "**/*.py"
tags:
- docker
artifacts:
reports:
junit: ./build/reports/flake8-junit.xml
expire_in: 7 days
black:
stage: Lint
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment