Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 899 Bytes

development.md

File metadata and controls

41 lines (27 loc) · 899 Bytes

Development guide

Environment

Prepare the build and test environment by setting up a Python virtual environment:

# Install the virtualenv package
python3 -m pip install --user virtualenv

# Create a new virtualenv for the plugin
python3 -m venv venv

The build and test scripts automatically activate the virtual environment where needed. To manually activate it, run the following command:

source venv/bin/activate

Building

Run the build script

./build.sh

The output of this script is a .zip file that can be uploaded in the Ultimaker Contributor Portal.

A GitHub Action has been configured to automatically create a build on every pull request. You can download the artifacts for each GitHub Action via the GitHub user interface.

Testing

Run the test suite (~60% coverage):

./test.sh