Adding the test action - Amazon CodeCatalyst

Adding the test action

Use the following procedure to add a test action to your CodeCatalyst workflow.

Visual
To add a test action using the visual editor
  1. Open the CodeCatalyst console at https://codecatalyst.aws/.

  2. In the navigation pane, choose CI/CD, and then choose Workflows.

  3. Choose the name of your workflow. You can filter by the source repository or branch name where the workflow is defined, or filter by workflow name or status.

  4. Choose Edit.

  5. Choose Visual.

  6. Choose Actions.

  7. In Actions, choose Test.

  8. In the Inputs and Configuration tabs, complete the fields according to your needs. For a description of each field, see the Build and test actions YAML. This reference provides detailed information on each field (and corresponding YAML property value) as it appears in both the YAML and visual editors.

  9. (Optional) Choose Validate to validate the workflow's YAML code before committing.

  10. Choose Commit, enter a commit message, and choose Commit again.

YAML
To add a build action using the YAML editor
  1. Open the CodeCatalyst console at https://codecatalyst.aws/.

  2. In the navigation pane, choose CI/CD, and then choose Workflows.

  3. Choose the name of your workflow. You can filter by the source repository or branch name where the workflow is defined, or filter by workflow name or status.

  4. Choose Edit.

  5. Choose YAML.

  6. Choose Actions.

  7. In Actions, choose Test.

  8. Modify the properties in the YAML code according to your needs. An explanation of each available property is provided in the Build and test actions YAML.

  9. (Optional) Choose Validate to validate the workflow's YAML code before committing.

  10. Choose Commit, enter a commit message, and choose Commit again.

Test action definition

The test action is defined as a set of YAML properties inside your workflow definition file. For information about these properties, see Build and test actions YAML in the Workflow YAML definition.