Circle CI
- Create an access token on Circle CI:
-
Create a workflow in
config.yml
file in.circle
folder in the root folder in your repository. -
This workflow will be used solely by Testomatio so it should start only on workflow_dispatch event. The event should be defined with the following input parameters:
- The job should include a step where the test runner is executed with —grep option and TESTOMATIO environment variables passed in. For instance:
Select
testomatio_url
if you use on-premise version.
- Connect a Circle CI in Testomatio:
You will need to enter the following:
- Circle CI Trigger Url (see how it works here)
- Circle Token (step 1)
- Save your connection
- Now, open “Configuration” tab and check Input Variables
- When the connection is saved, open a test and select “Run in CI”. Select a target ref and click “Launch”
- This will start a new pipeline in Circle CI. Please check that the job was successfully triggered and completed. After the job has finished a run report will be available on the Runs page of Testomatio.