This action submits LAVA job to a LAVA instance
Required File path to fully rendered job definition
Required Authorization token from user able to submit test jobs.
Required URL of LAVA instance.
Wait for job completion and stream logs'
Marks action failed in any test result is fail
. Requires wait_for_job
set to true
Saves JUNIT file with test results. The file name is test-resutls-<lava job ID>.xml
.
The file is saved to the top directory of the workflow artifacts.
uses: foundries/lava-action@v3
timeout-minutes: 10
with:
lava_token: '<auth token>'
lava_url: 'example.lava.instance'
job_definition: 'lavajob.yaml'
wait_for_job: 'true'
fail_action_on_failure: 'true'
Note! It is advised to set timeout-minutes
to avoid the job runninng indefinitely.