Skip to content

Commit 17df35e

Browse files
author
Daniel Oom
committed
Fix pytest command and update docs commands
1 parent c7ea291 commit 17df35e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,21 @@ source ./.venv/Scripts/activate
5757
pip install -r requirements-dev.txt
5858
5959
# Run tests
60-
pytest tests
60+
pytest test/
6161
6262
# Build source tarball and python wheel in dist/
6363
python -m build
6464
6565
# Build sphinx documentation in docs/_build/html/
6666
make -C docs html
6767
68-
# Copy build output to gh-pages branch (checkout in separate repository)
68+
# Copy build output to gh-pages branch (checked out in a separate clone of the repository in ../qualisys_python_sdk_gh_pages)
6969
# Make sure to keep v102/, v103/ and v212/ directories with the old documentation.
7070
cp -r docs/_build/html/* ../qualisys_python_sdk_gh_pages
71-
git -C ../qualisys_python_sdk_gh_pages commit -m "Update documentation to version x.y.z"
72-
git push origin gh-pages
71+
# Commit the changes with a message like "Update documentation to version x.y.z"
72+
git -C ../qualisys_python_sdk_gh_pages add .
73+
git -C ../qualisys_python_sdk_gh_pages commit
74+
git -C ../qualisys_python_sdk_gh_pages push origin gh-pages
7375
7476
# Upload new version to https://pypi.org/project/qtm-rt (needs API key)
7577
twine upload dist/*

0 commit comments

Comments
 (0)