Install Poetry (>=1.2.1)
poetry install --with tests --with dev
poetry shell
ptw --nobeep --ignore .venv --onpass "terminal-notifier -title 'โ
' -message 'OK' ; coverage html" --onfail "terminal-notifier -title '๐จ' -message 'KO'" -- --cov=wait_and_load --cov=tests
# Or only:
poetry run pytest -vvvvv --cov=wait_and_load --cov=tests && poetry run coverage html
Get inspiration in docker-compose.yml
and launch:
docker compose up
docker buildx build --push --platform=linux/amd64,linux/arm64 -t nledez/$(poetry version | sed 's/ /:/') .