Skip to main content

Dart

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.

AIDA logo
AIDA logo

Harness AIDA Chatbot

AI Development Assistant


Today, March 15, 2:56pm

AIDA logo

Accelerate your software delivery with the powerful capabilities of Harness’s Platform.

AIDA logo

How can I help?

Log into your Harness Account to access AIDA