Familiarize yourself with the Leapp project documentation. The section Creating your first actor is a good place to start. You should also dig around the Leapp Dashboard to make sure the custom actor functionality you are considering doesn't already exist in the mainstream framework.
Make sure to write tests for your actors as explained in Tests for Actors
First, install dependencies and set up the virtualenv:
make install-deps-fedoraThen run tests:
make testYou can also run individual targets:
make lint
make test_no_lint
make codespell
make fast_lintYou will need podman installed on your system.
The Makefile includes targets for running the tests inside a container:
make test_containerBy default, tests run in an el9 container. To use a different container:
TEST_CONTAINER=el8 make test_container
TEST_CONTAINER=el10 make test_containerYou can also run only lint or only tests in a container:
make lint_container
TEST_CONTAINER=el8 make test_container_no_lint
TEST_CONTAINER=el10 make lint_container