For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dart

Create a Pipeline for a Dart codebase.

This guide covers configuring continuous integration pipelines for Dart projects.

Build and Test

In the below example we demonstrate a pipeline that executes pub get and pub run test commands. These commands are executed inside the dart Docker container, downloaded at runtime from DockerHub.

kind: pipeline
spec:
  stages:
  - type: ci
    spec:
      steps:
      - name: test
        type: run
        spec:
          container: google/dart
          script: |-
            pub get
            pub run test

Please note that you can use any Docker image in your pipeline from any Docker registry. You can use the official Dart images, or your can bring your own.

Last updated

Was this helpful?