Skip to content

Commit

Permalink
Makefile updated to use Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
arekbulski committed Nov 19, 2021
1 parent fa0a74f commit 410fb50
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Makefile
Expand Up @@ -2,35 +2,35 @@ help:
cat Makefile

test:
python3.8 -m pytest --benchmark-disable --showlocals
python3.9 -m pytest --benchmark-disable --showlocals

verbose:
python3.8 -m pytest --benchmark-disable --showlocals --verbose
python3.9 -m pytest --benchmark-disable --showlocals --verbose

xfails:
python3.8 -m pytest --benchmark-disable --verbose | egrep --color=always "xfail|XFAIL|xpass|XPASS"
python3.9 -m pytest --benchmark-disable --verbose | egrep --color=always "xfail|XFAIL|xpass|XPASS"

cover:
python3.8 -m pytest --benchmark-disable --cov construct --cov-report html --cov-report term --verbose
python3.9 -m pytest --benchmark-disable --cov construct --cov-report html --cov-report term --verbose

bench:
python3.8 -m pytest --benchmark-enable --benchmark-columns=min,stddev --benchmark-sort=name --benchmark-compare
python3.9 -m pytest --benchmark-enable --benchmark-columns=min,stddev --benchmark-sort=name --benchmark-compare

benchsave:
python3.8 -m pytest --benchmark-enable --benchmark-columns=min,stddev --benchmark-sort=name --benchmark-compare --benchmark-autosave
python3.9 -m pytest --benchmark-enable --benchmark-columns=min,stddev --benchmark-sort=name --benchmark-compare --benchmark-autosave

html:
cd docs; make html

installdeps:
apt-get install python3.8 python3-sphinx --upgrade
python3.8 -m pip install pytest pytest-benchmark pytest-cov twine --upgrade
python3.8 -m pip install enum34 numpy arrow ruamel.yaml cloudpickle lz4 --upgrade
apt-get install python3.9 python3-pip python3-sphinx --upgrade
python3.9 -m pip install pytest pytest-benchmark pytest-cov twine --upgrade
python3.9 -m pip install enum34 numpy arrow ruamel.yaml cloudpickle lz4 --upgrade

version:
./version-increment

upload:
python3.8 ./setup.py sdist
python3.8 -m twine upload dist/*
python3.9 ./setup.py sdist
python3.9 -m twine upload dist/*

0 comments on commit 410fb50

Please sign in to comment.