Documentation/CI/CD Integration

CI/CD Integration

Automate Crowdi simulations in your continuous integration pipeline to catch UX regressions early.

GitHub Actions

name: Crowdi UX Test
on: [pull_request]

jobs:
  crowdi-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      
      - name: Run Crowdi Simulation
        uses: crowdi/action@v1
        with:
          url: https://preview-${{ github.event.number }}.your-product.com
          agents: 50
          threshold: 75
        env:
          CROWDI_API_KEY: ${{ secrets.CROWDI_API_KEY }}
      
      - name: Comment PR
        uses: crowdi/comment-action@v1
        if: always()

GitLab CI

crowdi_test:
  stage: test
  image: node:18
  script:
    - npm install -g crowdi-cli
    - crowdi run --url $PREVIEW_URL --agents 50 --threshold 75
  only:
    - merge_requests
  variables:
    CROWDI_API_KEY: $CROWDI_API_KEY

CircleCI

version: 2.1
jobs:
  crowdi-test:
    docker:
      - image: cimg/node:18.0
    steps:
      - checkout
      - run: npm install -g crowdi-cli
      - run: crowdi run --url https://staging.your-product.com --agents 50

Quality Gates

Fail builds if UX score drops below threshold:

crowdi run --url https://your-product.com --threshold 75 --fail-on-regression

Branch Previews

Automatically test every feature branch:

crowdi run --url https://preview-$BRANCH.your-product.com --agents 25

Last updated: Today

Edit this page on GitHub →
Crowdi - Synthetic User Testing