Loading Makefile +4 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,7 @@ dist/mnpw: mnpw/*.py pyproject.toml *.rst LICENSE.txt .PHONY: clean clean: git clean --force -X -d .PHONY: bats bats: all bats tests/ README.rst +31 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,37 @@ plugin handling useful and would want to use it. The package is not published to PyPI so your best option is getting a direct download of the wheel package from the `releases pages <https://git.shore.co.il/shore/mnpw/-/releases>`_. Development ----------- For local development, the following is required: - Python 3.6 or newer. - `Poetry <https://python-poetry.org/>`_. - `Bats <https://bats-core.readthedocs.io/en/stable/>`_. - Make. To run all of the tests locally: .. code:: shell poetry install poetry run pre-commit run --all-files poetry run pytest poetry run make bats All of those tests (and more) run in the `CI pipeline <https://git.shore.co.il/shore/mnpw/-/pipelines>`_ on each push. To release a new verion: .. code:: shell poetry run bumpversion major|minor|patch This will commit the version change, tag and push it and the pipeline will release a new version. License ------- Loading Loading
Makefile +4 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,7 @@ dist/mnpw: mnpw/*.py pyproject.toml *.rst LICENSE.txt .PHONY: clean clean: git clean --force -X -d .PHONY: bats bats: all bats tests/
README.rst +31 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,37 @@ plugin handling useful and would want to use it. The package is not published to PyPI so your best option is getting a direct download of the wheel package from the `releases pages <https://git.shore.co.il/shore/mnpw/-/releases>`_. Development ----------- For local development, the following is required: - Python 3.6 or newer. - `Poetry <https://python-poetry.org/>`_. - `Bats <https://bats-core.readthedocs.io/en/stable/>`_. - Make. To run all of the tests locally: .. code:: shell poetry install poetry run pre-commit run --all-files poetry run pytest poetry run make bats All of those tests (and more) run in the `CI pipeline <https://git.shore.co.il/shore/mnpw/-/pipelines>`_ on each push. To release a new verion: .. code:: shell poetry run bumpversion major|minor|patch This will commit the version change, tag and push it and the pipeline will release a new version. License ------- Loading