INTEGRATIONS
CI/CD Integration
5min
you can integrate relicx with your ci/cd pipeline using github actions or cli github actions repo https //github com/relicx ai/relicx githubaction https //github com/relicx ai/relicx githubaction uses relicx ai/relicx githubaction\@v1 2 with username ${{ secrets username }} password ${{ secrets password }} app id \<app id> command run test suite test suite id \<test suite id? environment id \<env id> wait false 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' pip install urllib3 now install the relicx package wget https //s3 us west 1 amazonaws com/apiclient relicx ai/prod/relicx tar gz pip install relicx tar gz 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