CI/CD Integration

Integrate CDM validation and transformation into your continuous integration pipelines.

GitHub Actions

Minimal configuration to run CDM validation as part of your GitHub Actions pipeline.

GitHub Actionsjson
name: CDM Validation
on: [push, pull_request]

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Validate CDM Trades
        uses: atheryon-ai/cdm-validate-action@v1
        with:
          api-key: ${{ secrets.ATHERYON_API_KEY }}
          input-path: ./trades/*.json
          fail-on-error: true

GitLab CI

Minimal configuration to run CDM validation as part of your GitLab CI pipeline.

GitLab CIjson
stages:
  - validate

cdm-validate:
  stage: validate
  image: atheryon/cdm-cli:latest
  script:
    - cdm validate ./trades/*.json
      --api-key $ATHERYON_API_KEY
      --format junit
      --output report.xml
  artifacts:
    reports:
      junit: report.xml

Azure DevOps

Minimal configuration to run CDM validation as part of your Azure DevOps pipeline.

Azure DevOpsjson
trigger:
  - main

pool:
  vmImage: 'ubuntu-latest'

steps:
  - task: Bash@3
    displayName: 'Validate CDM Trades'
    inputs:
      targetType: 'inline'
      script: |
        npx @atheryon/cdm-cli validate \
          --input ./trades/*.json \
          --api-key $(ATHERYON_API_KEY) \
          --fail-on-error
v0.1.0 | 2026-03-02 04:22 UTC