Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (26 loc) · 816 Bytes

DEVELOPING.md

File metadata and controls

38 lines (26 loc) · 816 Bytes

Running the tests

If using pyenv, ensure all minor Python versions >=3.6 are referenced in .python-version (and reload your shell after making the change), then:

$ tox

Releasing

$ python release.py <version>

Building a development Docker image

$ docker build -t ghcr.io/sprt/skippex:dev .

And later running this dev image:

$ docker run --rm -v skippex-dev:/data --network host ghcr.io/sprt/skippex:dev run

Running the tests inside it:

$ docker run --rm -v skippex-dev:/data --network host --entrypoint sh ghcr.io/sprt/skippex:dev -c ". /venv/bin/activate && python -m pytest"

Inspecting it with a shell:

$ docker run --rm -v skippex-dev:/data --network host --entrypoint sh -it ghcr.io/sprt/skippex:dev