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
Marks action failed in case test jobs ends as Incomplete or is Canceled
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.
Saves LAVA job details retrieved from API as JSON file. Note that the file contains
full rendered job definition. It may contain sensitive data (like passwords).
Defaults to false
The file name of the results pulled from LAVA API after the job is completed.
It can be used to overwrite the results when re-running the action in github workflow.
Defaults to test-results-<jobID>
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.