Skip to main content

Configuring CI

You can use the Lark CLI to run your testing workflows as part of your deployment. The --wait flag blocks until every workflow finishes and exits with a non-zero code on failure, so your pipeline fails if a test fails. Set the GETLARK_API_KEY environment variable in your CI provider’s secrets settings before adding the steps below.

GitHub Actions

CircleCI

GitLab CI

Each provider stores secrets in a different place. Add GETLARK_API_KEY under:
  • GitHub Actions: Settings → Secrets and variables → Actions
  • CircleCI: Project Settings → Environment Variables
  • GitLab CI: Settings → CI/CD → Variables