@@ -7,6 +7,7 @@ export LC_ALL=C
7
7
8
8
package=cwltool
9
9
module=cwltool
10
+ extras=" [deps]"
10
11
11
12
if [ " $GITHUB_ACTIONS " = " true" ]; then
12
13
# We are running as a GH Action
41
42
rm -f testenv1/lib/python-wheels/setuptools* \
42
43
&& pip install --force-reinstall -U pip==${pipver} \
43
44
&& pip install setuptools==${setuptoolsver} wheel
44
- pip install -rtest-requirements.txt
45
- pip install -e .
45
+ pip install -rtest-requirements.txt " .${extras} "
46
46
make test
47
47
pip uninstall -y ${package} || true ; pip uninstall -y ${package} || true ; make install
48
48
mkdir testenv1/not-${module}
@@ -67,7 +67,7 @@ rm -f lib/python-wheels/setuptools* \
67
67
&& pip install --force-reinstall -U pip==${pipver} \
68
68
&& pip install setuptools==${setuptoolsver} wheel
69
69
# 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} "
71
71
pushd src/${package}
72
72
pip install -rtest-requirements.txt
73
73
make dist
@@ -90,12 +90,14 @@ rm -f lib/python-wheels/setuptools* \
90
90
&& pip install setuptools==${setuptoolsver} wheel
91
91
package_tar=$( find . -name " ${package} *tar.gz" )
92
92
pip install " -r${DIR} /test-requirements.txt"
93
- pip install " ${package_tar} "
93
+ pip install " ${package_tar}${extras} "
94
94
mkdir out
95
95
tar --extract --directory=out -z -f ${package} * .tar.gz
96
96
pushd out/${package} *
97
97
make dist
98
98
make test
99
+ pip install " -r${DIR} /mypy-requirements.txt"
100
+ make mypy
99
101
pip uninstall -y ${package} || true ; pip uninstall -y ${package} || true ; make install
100
102
mkdir ../not-${module}
101
103
pushd ../not-${module}
0 commit comments