Development Guide
Contributing
- Fork the repository and clone your fork.
- Create a new branch for your feature/fix.
- Install the development dependencies:
pip install -e .[dev] - Run the test suite:
pytest -q - Open a Pull Request against
main.
Testing
The project uses pytest with the following extras:
* tests/unit/ – fast unit tests for nodes, graph utilities, and helper functions.
* tests/integration/ – slower tests that may spin up a temporary PostgreSQL instance (see pyiron_workflow/util.py).
Run only unit tests with:
pytest tests/unit -q
Building the Front‑End
The UI assets are built with npm:
cd pyiron_core
npm install # installs react‑flow & other deps
npm run build # produces pyiron_core/static/widget.{js,css}
The mkdocs.yml configuration already points to the generated static files, so after rebuilding the UI you can simply run mkdocs serve to see the updated docs.