Prerequisites to run tests in a GitHub Actions Workflow

Before you can configure a test run for any test resources that are in HCL OneTest Performance, you must complete certain tasks to run the test resources in a GitHub Actions Workflow.

You must complete the following tasks in HCL OneTest Performance:
  • Created a test. See Creating tests.

  • Opened and viewed the details of the test resources that you want to run in a GitHub Actions Workflow. You must make a note of the test resource details that are in HCL OneTest Performance.

    You will require the following details of the test resource on your system that must be provided in the YAML file for the GitHub Action:

    • The complete path to the Eclipse workspace.

    • The name of the project containing the test.

    • The relative path from the project to the test including the file name of the test.

You must complete the following tasks outside of HCL OneTest Performance:

  • Create an empty Git repository on any GitHub Enterprise server, if you do not already use Git repositories to store the test resources that you create. For more information about creating Git repositories, refer to Creating a new repository.

    If you are already using Git repositories to store test resources created, you can use the same Git repositories.

    Note: You must have the required privileges in the Git repository to create a GitHub Actions Workflow.
  • Enable the GitHub Actions option in the Git repository, if it is not available as an option to use. For more information about enabling the GitHub Actions, refer to Learn about GitHub Actions.

  • You must be familiar with setting up self-hosted runners on your computer. For more information, refer to Adding self-hosted runners.

You can continue to configure a run as a GitHub action, see Configuring a test run in a GitHub Actions Workflow.