Skip to content

Commit 024317b

Browse files
committed
work around pytest+py3.5 bug
1 parent 0c22d13 commit 024317b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ mypy: ${PYSOURCES}
162162
cwltool
163163

164164
mypyc: ${PYSOURCES}
165-
MYPYPATH=typeshed/2and3/:typeshed/3 CWLTOOL_USE_MYPYC=1 python setup.py test
165+
MYPYPATH=typeshed/2and3/:typeshed/3 CWLTOOL_USE_MYPYC=1 pip install --verbose -e . && pytest --ignore cwltool/schemas --basetemp ./tmp
166166

167167
release-test: FORCE
168168
git diff-index --quiet HEAD -- || ( echo You have uncommited changes, please commit them and try again; false )

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ deps =
3434
py{35,36,37,38}-unit: codecov
3535
py{35,36,37,38}-unit: pytest-xdist<1.28.0
3636
py{35,36,37,38}-unit: pytest-cov
37-
py{35,36,37,38}-unit: -rtest-requirements.txt
37+
py{35,36,37,38}-{unit,mypy}: -rtest-requirements.txt
3838
py{35,36,37,38}-unit: galaxy-tool-util
3939
py{35,36,37,38}-lint: flake8
4040
py{35,36,37,38}-bandit: bandit

0 commit comments

Comments
 (0)