Skip to content
Snippets Groups Projects
Commit febf6d4c authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

AT5-370: project Makefile is in docker folder.

parent e686be40
Branches
Tags
1 merge request!5Request to merge AT5-370 branch with master
Pipeline #11344 failed
# Use bash shell with pipefail option enabled so that the return status of a
# piped command is the value of the last (rightmost) commnand to exit with a
# non-zero status. This lets us pipe output into tee but still exit on test
# failures.
SHELL = /bin/bash
.SHELLFLAGS = -o pipefail -c
all: test lint
# The following steps copy across useful output to this volume which can
# then be extracted to form the CI summary for the test procedure.
test:
python setup.py test | tee ./build/setup_py_test.stdout; \
mv coverage.xml ./build/reports/code-coverage.xml;
# The following steps copy across useful output to this volume which can
# then be extracted to form the CI summary for the test procedure.
lint:
# FIXME pylint needs to run twice since there is no way go gather the text and junit xml output at the same time
pip3 install pylint2junit; \
pylint --output-format=parseable ska_python_skeleton | tee ./build/code_analysis.stdout; \
pylint --output-format=pylint2junit.JunitReporter ska_python_skeleton > ./build/reports/linting.xml;
.PHONY: all test lint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment