Configuring a test run in a GitHub Actions Workflow
After you complete the prerequisite tasks to run tests in a GitHub Actions Workflow, you can configure the test run in a GitHub Actions Workflow.
Before you begin
You must have completed the following tasks:
- Completed the tasks that are mentioned in Prerequisites to run tests in a GitHub Actions Workflow.
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Extended the CA list. See Extending the trusted CA list on Linux or Extending the trusted CA list on Windows systems.
Procedure
-
Perform the following steps to open the Git repository that you use or created,
which has the GitHub Actions option enabled:
-
Perform the following steps to define the YAML file for the GitHub
Action:
-
Perform the following steps to set up a Runner for the GitHub Action in
GitHub:
-
Perform the following steps to start the GitHub Action in the Workflow:
Results
What to do next
You can perform any of the following tasks on the Git repository page by clicking the
job that was completed:
- View the status of the test run by expanding the Execute test section.
- View the links to the test results and reports listed in the Execute test section.
You can perform any of the following tasks from HCL OneTest™ Server:
- Stop the test run at any point after the test run is initiated from the Execution page. See Stopping test runs.
- View the progress of the test from the Progress page. See Viewing the progress of running test assets.
- View the results, reports, and logs of the test from the Results page after the test completes the run. See Test results.