Skip to content

GitHub Action to execute your automagically-maintained e2e tests

License

Notifications You must be signed in to change notification settings

OctoMind-dev/automagically-action-execute

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

automagically-action-execute

This is a GitHub Action to execute automagically. To use this action a token is required, which you can generate in our octomind app.

See the docs for more details.

drop us a note: [email protected] 🐙

Setup

  1. Add the AUTOMAGICALLY_TOKEN to your repository secrets
  2. Add the following yml snippet to your steps and insert a value for url pointing to a publicly accessible deployment of your branch.
- uses: OctoMind-dev/automagically-action-execute@v2
  with:
    url: <publicly accessible url to your deployment>
    token: ${{ secrets.AUTOMAGICALLY_TOKEN }}
    testTargetId: <your testTargetId that you also get from us>
    environmentName: <environment name> that your test cases should run against. optional, 
                     will use the "default" environment otherwise.
    blocking: <if the pipeline should wait for all test results to pass, optional, default is FALSE>

Change Log

  • 2023-07-20: Added requirement for setting testTargetId to enable v2 API
  • 2024-10-17: Added blocking parameter, if true we wait for all test results to be passed and fail the step other
  • 2024-10-17: Added environment name parameter, if defined we will run the test cases against the specified environment, otherwise against the default environment.