Skip to content

jmazanek/leapp-actors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to write actors

See the tutorial for creating the first actor.

How to write actor tests

Please read documentation about how to unit test actors.

Actor dependencies

Each actor can now have its own Makefile with the install-deps target. This takes care of installing any dependencies of your actor. If your actor has any dependencies, include them in the Makefile.

See the testing actor's example here.

To install dependencies for all actors, run:

$ make install-deps

For just one specific actor, run:

$ make install-deps ACTOR=testactor

Running tests locally

To run all tests from leapp-actors, run the following code from the leapp-actors directory:

$ make test

It is also possible to generate a report in a JUnit XML format:

$ make test REPORT=report.xml

Packages

No packages published

Languages

  • Python 89.8%
  • Shell 6.9%
  • Makefile 3.3%