X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=tox.ini;h=61f96bd853fafb594725ec22c66e561146584b79;hp=2122fb599639fe2e52993900d2f338d53a066cd0;hb=becd083422f214e1480a8ecfadc748af2ea41703;hpb=96abfc244d7937f7bb33aae8916033c0defd29d4 diff --git a/tox.ini b/tox.ini index 2122fb59..61f96bd8 100644 --- a/tox.ini +++ b/tox.ini @@ -194,11 +194,12 @@ commands = ####################################################################################### [testenv:pip-compile] deps = pip-tools==5.5.0 +skip_install = true commands = - - sh -c 'for file in requirements*.in ; do pip-compile -rU --no-header $file ;\ - out=`echo $file | sed "s/.in/.txt/"` ; \ - head -16 tox.ini >> $out ;\ - done' + - sh -c "for file in requirements*.in ; do pip-compile -rU --no-header $file ;\ + out=`echo $file | sed 's/.in/.txt/'` ; \ + sed -i -e '1 e head -16 tox.ini' $out ;\ + done" whitelist_externals = sh