Skip to content

Commit b53602f

Browse files
committed
try to fix release test
1 parent 8e829b6 commit b53602f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

release-test.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ then
3838
&& pip install setuptools==${setuptoolsver} wheel
3939
make install-dep
4040
pip install .
41-
#pip install 'galaxy-lib>=17.09.3'
42-
make test
41+
python setup.py test
4342
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
4443
mkdir testenv1/not-${module}
4544
# if there is a subdir named '${module}' py.test will execute tests
@@ -62,12 +61,11 @@ source bin/activate
6261
rm lib/python-wheels/setuptools* \
6362
&& pip install --force-reinstall -U pip==${pipver} \
6463
&& pip install setuptools==${setuptoolsver} wheel
65-
#pip install 'galaxy-lib==17.09.3'
6664
pip install -e "git+${repo}@${HEAD}#egg=${package}" #[deps]
6765
cd src/${package}
6866
make install-dep
6967
make dist
70-
make test
68+
python setup.py test
7169
cp dist/${package}*tar.gz ../../../testenv3/
7270
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
7371
cd ../.. # no subdir named ${proj} here, safe for py.testing the installed module
@@ -85,14 +83,13 @@ rm lib/python-wheels/setuptools* \
8583
&& pip install setuptools==${setuptoolsver} wheel
8684
package_tar=${package}*tar.gz
8785
pip install "-r${DIR}/test-requirements.txt"
88-
#pip install 'galaxy-lib==17.09.3'
8986
pip install ${package_tar} # [deps]
9087
mkdir out
9188
tar --extract --directory=out -z -f ${package}*.tar.gz
9289
cd out/${package}*
9390
make install-dep
9491
make dist
95-
make test
92+
python setup.py test
9693
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
9794
mkdir ../not-${module}
9895
pushd ../not-${module}

0 commit comments

Comments
 (0)