poetry build
twine upload dist/*- Create wheel files in dist/:
poetry build - Install wheel in current environment with pip:
pip install path/to/deepstruct/dist/deepstruct-0.1.0-py3-none-any.whl
Install latest gitlab-runner (version 12.3 or up):
# For Debian/Ubuntu/Mint
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
# For RHEL/CentOS/Fedora
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
apt-get update
apt-get install gitlab-runner
$ gitlab-runner -v
Version: 12.3.0Execute job tests: gitlab-runner exec docker test-python3.7
Install https://github.com/nektos/act.
Run act
- Execute pre-commit manually:
poetry run pre-commit run --all-files - Add pre-commit to your local git:
poetry run pre-commit install