Skip to content

Developer Notes

If you would like to contribute, please read CONTRIBUTING.md.

Development Install and Unit Tests

A local installation for testing and development can be installed using the following commands:

git clone git@github.com:reproducible-reporting/stepup-core.git
cd stepup-core
pre-commit install
python -m venv venv

Put the following lines in .envrc:

source venv/bin/activate
export XDG_CACHE_HOME="${VIRTUAL_ENV}/cache"

Finally, run the following commands:

echo 'source venv/bin/activate' > .envrc
direnv allow
pip install -U pip
pip install -e .[dev]
pytest -vv

Documentation

The documentation is created using MkDocs.

Edit the documentation Markdown files with a live preview by running:

mkdocs serve

(Keep this running.) Then open the live preview in your browser at http://127.0.0.1:8000/ and edit Markdown files in your IDE.

Please, use Semantic Line Breaks because it facilitates reviewing documentation changes.

Tutorial Example Outputs

If you wish to regenerate the output of the examples, run stepup in the docs directory:

cd docs
stepup -n

Note that some scripts use Graphviz to generate diagrams, so you must have it installed on your system.

How to Make a Release

  • Mark the release in docs/changelog.md.
  • Make a new commit and tag it with vX.Y.Z.
  • Trigger the PyPI GitHub Action: git push origin main --tags.