---
title: Continuous Integration with Inso CLI
description: Inso CLI is designed to run in a Continuous Integration (CI) environment.
url: "/inso-cli/continuous-integration/"
canonical_url: "/inso-cli/continuous-integration/"
content_type: reference
products:
- Insomnia
tools:
- Inso CLI
tags:
- ci/cd
canonical: true


---

# Continuous Integration with Inso CLI










Inso CLI is designed to run in a Continuous Integration (CI) environment. It disables prompts and provides exit codes to pass or fail the CI workflow.

You can use the [Setup Inso](https://github.com/marketplace/actions/setup-inso) GitHub Action to perform Inso CLI tasks in your repository's GitHub Actions.

## GitHub Action example

The following sample GitHub Actions performs the following tasks:

1. Checks out branch
2. Downloads [Setup Inso](https://github.com/marketplace/actions/setup-inso)
3. Runs linting
4. Runs unit tests

Here's the example Inso CLI GitHub Action:

```yaml
name: Test

jobs:
  Linux:
    name: Validate API spec
    runs-on: ubuntu-latest
    steps:
      - name: Checkout branch
        uses: actions/checkout@v1
      - uses: kong/setup-inso@v2
        with:
          inso-version: 11.3.0
      - name: Lint
        run: inso lint spec "Designer Demo" --ci
      - name: Run test suites
        run: inso run test "Designer Demo" --env UnitTest --ci
```


## Related Resources

- [Inso CLI](/inso-cli/)

- [Inso CLI reference](/inso-cli/reference/)

