RELEASE_INSTRUCTIONS
--------------------

- Verify package installs from source and runs correctly in editable mode:
    $ git clone git@github.com:jeffwright13/pytest-tui.git dev-dir
    $ cd dev-dir
    $ pyenv local 3.9.9
    $ python -m venv venv
    $ source venv/bin/activate
    $ pip install -e .
    $ pytest --tui
    $ tui
    $ tuih

- Install/upgrade build & release tools:
    $ pip install --upgrade setuptools wheel twine

- Clear out old builds:
    $ rm dist/*

- Build:
    $ python setup.py sdist bdist_wheel

- Publish to TestPyPi:
    $ python -m twine upload --repository testpypi dist/*

- Test the installation in a fresh directory by running the 'test.sh' bash script.
  Verify TUI and HTML page for each iteration/Python version.
    $ cd ~/coding/pytest-tui (or top level of name of repo)
    $ deactivate
    $ pyenv local 3.8.10 3.9.9 3.10.5 3.11.1
    $ ./testing/bash/test.sh --version 3.8.10
    $ ./testing/bash/test.sh --version 3.9.9
    $ ./testing/bash/test.sh --version 3.10.5
    $ ./testing/bash/test.sh --version 3.11.1
    $ source venv/bin/activate
    $ cd testing/robot
    $ robot .

- Verify basic functionality without plugin:
    $ pytest --version
    $ pytest --co
    $ pytest -k test0

- Verify basic functionality with plugin:
    $ pytest --tui --version
    $ pytest --tui --co
    $ pytest --tui -k test0
    $ tui
    $ tuih

- Publish to Pypi:
    $ deactivate
    $ cd ~/coding/dev-dir
    $ source venv/bin/activate
    $ python -m twine upload dist/*
