Files
packages/.ci.yaml
godofredoc 84d89af228 Run scorecards only on pushes to main. (#2546)
* Run scorecards only on pushes to main.

This is to prevent the workflow from failing when running in branches
with no previous data to compare.

It also adds the scorecard badge to the README file.

* Add timeout and run_if to ci_yaml_roller.
2022-09-02 11:23:41 -07:00

82 lines
2.1 KiB
YAML

# Describes the targets run in continuous integration environment.
#
# Flutter infra uses this file to generate a checklist of tasks to be performed
# for every commit.
#
# More information at:
# * https://github.com/flutter/cocoon/blob/main/CI_YAML.md
enabled_branches:
- main
platform_properties:
linux:
properties:
os: Linux
windows:
properties:
dependencies: >
[
{"dependency": "certs", "version": "version:9563bb"}
]
device_type: none
os: Windows
targets:
- name: Windows custom_package_tests master - packages
recipe: packages/packages
timeout: 30
properties:
add_recipes_cq: "true"
target_file: windows_custom_package_tests.yaml
channel: master
version_file: flutter_master.version
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]
- name: Windows dart_unit_tests master - packages
recipe: packages/packages
timeout: 30
properties:
add_recipes_cq: "true"
target_file: windows_dart_unit_tests.yaml
channel: master
version_file: flutter_master.version
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]
- name: Windows win32-platform_tests master - packages
recipe: packages/packages
timeout: 30
properties:
add_recipes_cq: "true"
target_file: windows_build_and_platform_tests.yaml
channel: master
version_file: flutter_master.version
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]
- name: Windows win32-platform_tests stable - packages
recipe: packages/packages
timeout: 30
properties:
add_recipes_cq: "true"
target_file: windows_build_and_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]
- name: Linux ci_yaml packages roller
recipe: infra/ci_yaml
timeout: 30
runIf:
- .ci.yaml