Skip to content

Momentic Run Tests

Actions
GitHub Action to run tests on Momentic
v1
Latest
Star (2)

Momentic Run Tests GitHub Action

Prerequisites

Create a Momentic API key

For this action to communicate securely with Momentic, you'll need to create a new API key. In Momentic, navigate to: API key.

Give your new API key a name (for example, "GitHub Action Run Tests).

View create api key dialog.

Click Create and copy your token, which you’ll use as your MOMENTIC_API_KEY. We recommend you store this as an encrypted secret.

Usage

Adding the following to your workflow will create new test run for the specified test.

- uses: actions/checkout@v3
  with:
    fetch-depth: 0

- name: Run tests using Momentic
  uses: momentic-ai/run-tests@v1
  env:
    MOMENTIC_API_KEY: ${{ secrets.MOMENTIC_API_KEY }}
  with:
    tests: |-
      8f20cad6-2fd5-4019-bcbc-26fb617f36c5

Inputs

Environment Variables

name description default
MOMENTIC_API_KEY [Required] Authentication token for Momentic. -

Parameters

name description default
tests [Required] IDs of the tests you want to run -

Momentic Run Tests is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action to run tests on Momentic
v1
Latest

Momentic Run Tests is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.