Skip to main content

How to integrate HTTP endpoint evaluations into your CI/CD pipeline?

Automate your agent evaluations by integrating them into your CI/CD pipeline. This guide shows you how to use GitHub Actions with the Maxim Actions repository to test workflows automatically.

GitHub Actions Setup

The Maxim Actions repository provides pre-built GitHub Actions that make it easy to run agent tests in your CI/CD pipeline.

Prerequisites

Before setting up the GitHub Action, you’ll need to setup the following:
  1. GitHub Secrets: Store your Maxim API key securely
  2. GitHub Variables: Configure your workspace and resource IDs
  3. Workflow ID: The specific workflow ID from the Maxim platform

Environment Setup

Add these secrets and variables to your GitHub repository: Secrets (Repository Settings → Secrets and variables → Actions):
  • MAXIM_API_KEY: Your Maxim API key
Variables (Repository Settings → Secrets and variables → Actions):
  • WORKSPACE_ID: Your Maxim workspace ID
  • DATASET_ID: The dataset to use for testing
  • WORKFLOW_ID: The workflow ID to test

Complete GitHub Actions Workflow

Create a file .github/workflows/agent-evaluation.yml in your repository:

Next Steps