File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM python:3.7-slim
22ENV TERM linux
33ENV DEBIAN_FRONTEND noninteractive
44RUN apt-get update && apt-get -y install git python3-scipy cython libhdf5-dev python3-h5py portaudio19-dev swig libpulse-dev libatlas-base-dev
5- RUN mkdir -p /root/allure /opt/mycroft/mycroft-precise
5+ RUN mkdir -p /root/allure /opt/mycroft/mycroft-precise /root/code-quality
66COPY requirements/ /opt/mycroft/mycroft-precise/requirements/
77RUN pip install -r /opt/mycroft/mycroft-precise/requirements/test.txt
88RUN pip install -r /opt/mycroft/mycroft-precise/requirements/prod.txt
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ pipeline {
2828 timeout(time : 5 , unit : ' MINUTES' )
2929 {
3030 sh ' docker run -v $HOME/code-quality/:/root/code-quality --entrypoint ls precise-test:${BRANCH_ALIAS} -la /root/code-quality/'
31- sh ' docker run -v $HOME/code-quality/:/root/code-quality --entrypoint "cat /root/code-quality/change-set.txt | xargs black" precise-test:${BRANCH_ALIAS} -- check'
31+ sh ' docker run -v $HOME/code-quality/:/root/code-quality --entrypoint /bin/bash precise-test:${BRANCH_ALIAS} -x -c "black -- check $(< /root/code-quality/change-set.txt) '
3232 }
3333 }
3434 }
You can’t perform that action at this time.
0 commit comments