forked from terminusdb/terminusdb-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
29 lines (25 loc) · 934 Bytes
/
makefile
File metadata and controls
29 lines (25 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
init:
pip3 install pipenv --upgrade
pipenv install --dev
test:
# This runs all of the tests, on both Python 2 and Python 3.
detox
ci:
pip3 install -e .
pipenv run py.test tests --junitxml=report.xml
test-readme:
@pipenv run python src/setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!"
flake8:
pipenv run flake8 --ignore=E501,F401,E128,E402,E731,F821 woqlclient
coverage:
pipenv run py.test tests --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=woqlclient tests
#command line for release: bumpversion (patch), tag and push
publish:
pip install -U bumpversion
#git remote add upstream git@github.com:terminusdb/terminus-client-python.git
#git checkout dev
git pull upstream master
bumpversion patch
git push upstream master
#git push upstream dev:master
git push upstream --tags