@@ -7,6 +7,7 @@ export LC_ALL=C
77
88package=cwltool
99module=cwltool
10+ extras=" [deps]"
1011
1112if [ " $GITHUB_ACTIONS " = " true" ]; then
1213 # We are running as a GH Action
4142 rm -f testenv1/lib/python-wheels/setuptools* \
4243 && pip install --force-reinstall -U pip==${pipver} \
4344 && pip install setuptools==${setuptoolsver} wheel
44- pip install -rtest-requirements.txt
45- pip install -e .
45+ pip install -rtest-requirements.txt " .${extras} "
4646 make test
4747 pip uninstall -y ${package} || true ; pip uninstall -y ${package} || true ; make install
4848 mkdir testenv1/not-${module}
@@ -67,7 +67,7 @@ rm -f lib/python-wheels/setuptools* \
6767 && pip install --force-reinstall -U pip==${pipver} \
6868 && pip install setuptools==${setuptoolsver} wheel
6969# The following can fail if you haven't pushed your commits to ${repo}
70- pip install -e " git+${repo} @${HEAD} #egg=${package} "
70+ pip install -e " git+${repo} @${HEAD} #egg=${package}${extras} "
7171pushd src/${package}
7272pip install -rtest-requirements.txt
7373make dist
@@ -90,12 +90,14 @@ rm -f lib/python-wheels/setuptools* \
9090 && pip install setuptools==${setuptoolsver} wheel
9191package_tar=$( find . -name " ${package} *tar.gz" )
9292pip install " -r${DIR} /test-requirements.txt"
93- pip install " ${package_tar} "
93+ pip install " ${package_tar}${extras} "
9494mkdir out
9595tar --extract --directory=out -z -f ${package} * .tar.gz
9696pushd out/${package} *
9797make dist
9898make test
99+ pip install " -r${DIR} /mypy-requirements.txt"
100+ make mypy
99101pip uninstall -y ${package} || true ; pip uninstall -y ${package} || true ; make install
100102mkdir ../not-${module}
101103pushd ../not-${module}
0 commit comments