mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
py27 compat fixes
This commit is contained in:
parent
2017a773b6
commit
00fdabed32
7 changed files with 43 additions and 7 deletions
4
makefile
4
makefile
|
|
@ -323,7 +323,7 @@ pylint:
|
|||
|
||||
## Run pytest unit and integration tests
|
||||
.PHONY: test
|
||||
test:
|
||||
test: $(COMPAT_TEST_FILES)
|
||||
@rm -rf ".pytest_cache";
|
||||
@rm -rf "src/__pycache__";
|
||||
@rm -rf "test/__pycache__";
|
||||
|
|
@ -346,7 +346,7 @@ test:
|
|||
for i in $${!env_paths[@]}; do \
|
||||
env_py=$${env_paths[i]}/bin/python; \
|
||||
$${env_py} -m pip install --upgrade build/test_wheel/*.whl; \
|
||||
ENV=$${ENV-dev} $${env_py} -m pytest test/; \
|
||||
ENV=$${ENV-dev} $${env_py} -m pytest --verbose compat_test/; \
|
||||
done;
|
||||
|
||||
@rm -rf ".pytest_cache";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue