Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Apr 29, 2024
1 parent dd023b5 commit 0368917
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ lint:
black src/ --check && \
isort src/ --check-only

build:
pip3 install --upgrade build setuptools
python3 -m build

upload:
pip3 install twine wheel
cd src/ && python setup.py upload
pip3 install twine wheel setuptools build
twine upload dist/*

tests: install
coverage run --rcfile=.coveragerc -m pytest --verbose --showlocals --pastebin=all \
tests/ --disable-warnings && \
tests/test_tencent.py --disable-warnings && \
coverage report --precision=3 --sort=cover --skip-empty --show-missing && \
coverage html --precision=3 --skip-empty -d coverage/html/ && \
coverage xml -o coverage/coverage.xml
Expand Down

0 comments on commit 0368917

Please sign in to comment.