diff --git a/.ci.yaml b/.ci.yaml index ea445b2fbe..e1ae9c47e9 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -36,6 +36,20 @@ targets: {"dependency": "vs_build"} ] + - name: Windows dart_unit_tests master - packages + recipe: packages/packages + timeout: 30 + bringup: true + properties: + add_recipes_cq: "true" + target_file: windows_dart_unit_tests.yaml + channel: master + version_file: flutter_master.version + dependencies: > + [ + {"dependency": "vs_build"} + ] + - name: Windows win32-platform_tests master - packages recipe: packages/packages timeout: 30 diff --git a/.ci/scripts/dart_unit_tests.sh b/.ci/scripts/dart_unit_tests.sh new file mode 100644 index 0000000000..357e991528 --- /dev/null +++ b/.ci/scripts/dart_unit_tests.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Copyright 2013 The Flutter Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +dart pub global run flutter_plugin_tools test --packages-for-branch \ + --log-timing diff --git a/.ci/targets/windows_dart_unit_tests.yaml b/.ci/targets/windows_dart_unit_tests.yaml new file mode 100644 index 0000000000..e06a497b7f --- /dev/null +++ b/.ci/targets/windows_dart_unit_tests.yaml @@ -0,0 +1,5 @@ +tasks: + - name: prepare tool + script: .ci/scripts/prepare_tool.sh + - name: custom package tests + script: .ci/scripts/dart_unit_tests.sh