website logo
⌘K
Welcome to Relicx
Getting Started
Sign-up
Instrumenting Your App
Security and Privacy
Application & Environments
Adding Application
Adding a new Test Environment
SDK
getSessionUrlCallback()
identify()
Log()
sessionVars()
sessionLabels()
User Sessions
Session Replay and Detail
Developer Console
Autonomous Testing
How Does Relicx AutoTest Work?
Benefits of Relicx AutoTest
Running Autonomous Test
Interpreting the results
Adding Tests
User-Defined Tests
Generating Tests from User Sessions
Creating Tests with Chrome Extension
Interactive Test Authoring (Coming Soon)
Editing Tests
Running Tests
Test Run Page
Test Suite
CI/CD Integration
Notifications
Slack
Email
Video Resources
Changelog
Docs powered by archbee 
7min

CI/CD Integration

You can integrate Relicx with your CI/CD pipeline using GitHub Actions or CLI.

Github Actions

Repo: https://github.com/relicx-ai/relicx-githubaction

Text
|


To generate the Github Actions code navigate to Settings -> Integrations -> CI/CD





Python CLI

Setup

Please ensure the following pre-requisites are met before using the python cli

  • python3
  • Access to https://app.relicx.ai
  • Alternatively you may have to install urllib package if you come across this error ModuleNotFoundError: No module named 'urllib3'
Text
|


Now install the Relicx package

Text
|


Once the setup is complete, execute the test suite with the following commands. You can also generate the command from the product by navigating to Settings -> Integrations -> CI/CD

export relicx_username= <credentials> export relicx_password= <credentials> python -m relicx.cli --app_id <app_id> run_test_suite --environment_id <env_id> --test_suite_id <test_suite_id> --wait true

Set wait to true to make the run blocking and false otherwise. A blocking run will make your CD wait until the test suite execution has finished.

Updated 09 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Notifications
Docs powered by archbee 
TABLE OF CONTENTS
Github Actions
Python CLI
Setup