Integrations & Advanced Usage
Gitlab CI/CD
This page explains how to set up and run AskUI workflows in a CI/CD pipeline, including dependencies, environment variables, and optional report generation, with a full example on GitLab.
Setting Up Your Pipeline
1
Project Structure
Create a tests
directory in your repository root to store your AskUI Python scripts.
Note: The directory name may vary based on your project organization.
2
Configure Pipeline Steps
1. Environment Setup
- Set up Python 3.10 or higher
- Install dependencies with
pip install askui
- Optional: Configure AskUI Agent OS as a service
2. Environment Variables
Configure the following required variables:
For AI model integration:
3. Execute Tests
Run your AskUI workflows:
4. Reporting
- Generate test reports with pytest-html
- Deploy or distribute reports as needed
Example Implementation
Check out our complete example pipeline configuration on GitLab.