blob: 34ac4c5e9a0bd2caf61918182240c8b2907a244e [file] [log] [blame] [edit]
# Created with package:mono_repo v6.5.3
name: Dart CI
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: "0 0 * * 0"
defaults:
run:
shell: bash
env:
PUB_ENVIRONMENT: bot.github
DISPLAY: ":99"
permissions: read-all
jobs:
job_001:
name: mono_repo self validate
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: stable
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- name: mono_repo self validate
run: dart pub global activate mono_repo 6.5.3
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyzer_and_format; linux; Dart dev; PKG: dwds; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`, `dart test test/build/ensure_version_test.dart`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:format-analyze_0-test_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
- name: dwds; dart test test/build/ensure_version_test.dart
run: dart test test/build/ensure_version_test.dart
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
job_003:
name: "analyzer_and_format; linux; Dart dev; PKGS: example, fixtures/_webdevSoundSmoke, frontend_server_client, frontend_server_common, test_common; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:example-fixtures/_webdevSoundSmoke-frontend_server_client-frontend_server_common-test_common;commands:format-analyze_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:example-fixtures/_webdevSoundSmoke-frontend_server_client-frontend_server_common-test_common
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: example_pub_upgrade
name: example; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: example
- name: "example; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.example_pub_upgrade.conclusion == 'success'"
working-directory: example
- name: "example; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.example_pub_upgrade.conclusion == 'success'"
working-directory: example
- id: fixtures__webdevSoundSmoke_pub_upgrade
name: fixtures/_webdevSoundSmoke; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: fixtures/_webdevSoundSmoke
- name: "fixtures/_webdevSoundSmoke; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.fixtures__webdevSoundSmoke_pub_upgrade.conclusion == 'success'"
working-directory: fixtures/_webdevSoundSmoke
- name: "fixtures/_webdevSoundSmoke; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.fixtures__webdevSoundSmoke_pub_upgrade.conclusion == 'success'"
working-directory: fixtures/_webdevSoundSmoke
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: frontend_server_client
- name: "frontend_server_client; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_client
- name: "frontend_server_client; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_client
- id: frontend_server_common_pub_upgrade
name: frontend_server_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: frontend_server_common
- name: "frontend_server_common; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.frontend_server_common_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_common
- name: "frontend_server_common; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.frontend_server_common_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_common
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: test_common
- name: "test_common; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
- name: "test_common; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
job_004:
name: "analyzer_and_format; linux; Dart dev; PKG: webdev; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`, `dart test test/build/ensure_build_test.dart`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:webdev;commands:format-analyze_0-test_7"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:webdev
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: webdev
- name: "webdev; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
- name: "webdev; dart analyze --fatal-infos ."
run: dart analyze --fatal-infos .
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
- name: webdev; dart test test/build/ensure_build_test.dart
run: dart test test/build/ensure_build_test.dart
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
job_005:
name: "unit_test; linux; Dart dev; PKG: dwds; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test --tags=extension`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:command-test_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --tags=extension"
run: "dart test --tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_006:
name: "unit_test; linux; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 0 --exclude-tags=extension`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:test_2"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
run: "dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_007:
name: "unit_test; linux; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 1 --exclude-tags=extension`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:test_3"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
run: "dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_008:
name: "unit_test; linux; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 2 --exclude-tags=extension`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:test_4"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
run: "dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_009:
name: "unit_test; linux; Dart dev; PKG: frontend_server_client; `dart test -j 1`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:frontend_server_client;commands:test_5"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:frontend_server_client
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: frontend_server_client
- name: "frontend_server_client; dart test -j 1"
run: dart test -j 1
if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_client
needs:
- job_001
- job_002
- job_003
- job_004
job_010:
name: "unit_test; linux; Dart dev; PKG: test_common; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test --exclude-tags=release`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:test_common;commands:command-test_6"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:test_common
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: test_common
- name: "test_common; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
- name: "test_common; dart test --exclude-tags=release"
run: "dart test --exclude-tags=release"
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
needs:
- job_001
- job_002
- job_003
- job_004
job_011:
name: "unit_test; linux; Dart dev; PKG: webdev; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test -j 1`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:webdev;commands:command-test_5"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:webdev
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: webdev
- name: "webdev; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
- name: "webdev; dart test -j 1"
run: dart test -j 1
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
needs:
- job_001
- job_002
- job_003
- job_004
job_012:
name: "unit_test; linux; Dart main; PKG: frontend_server_client; `dart test -j 1`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:frontend_server_client;commands:test_5"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:frontend_server_client
os:ubuntu-latest;pub-cache-hosted;sdk:main
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: main
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: frontend_server_client
- name: "frontend_server_client; dart test -j 1"
run: dart test -j 1
if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_client
needs:
- job_001
- job_002
- job_003
- job_004
job_013:
name: "unit_test; linux; Dart main; PKG: test_common; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test --exclude-tags=release`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:test_common;commands:command-test_6"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:test_common
os:ubuntu-latest;pub-cache-hosted;sdk:main
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: main
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: test_common
- name: "test_common; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
- name: "test_common; dart test --exclude-tags=release"
run: "dart test --exclude-tags=release"
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
needs:
- job_001
- job_002
- job_003
- job_004
job_014:
name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --tags=extension`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --tags=extension"
run: "dart test --tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_015:
name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 0 --exclude-tags=extension`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
run: "dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_016:
name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 1 --exclude-tags=extension`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
run: "dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_017:
name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 2 --exclude-tags=extension`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
run: "dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
job_018:
name: "unit_test; windows; Dart dev; PKG: frontend_server_client; `dart test -j 1`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: frontend_server_client
- name: "frontend_server_client; dart test -j 1"
run: dart test -j 1
if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_client
needs:
- job_001
- job_002
- job_003
- job_004
job_019:
name: "unit_test; windows; Dart dev; PKG: webdev; `dart test -j 1`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: webdev
- name: "webdev; dart test -j 1"
run: dart test -j 1
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
needs:
- job_001
- job_002
- job_003
- job_004
job_020:
name: "unit_test; windows; Dart dev; PKG: test_common; `dart test --exclude-tags=release`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: test_common
- name: "test_common; dart test --exclude-tags=release"
run: "dart test --exclude-tags=release"
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
needs:
- job_001
- job_002
- job_003
- job_004
job_021:
name: "unit_test; windows; Dart main; PKG: frontend_server_client; `dart test -j 1`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: main
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: frontend_server_client
- name: "frontend_server_client; dart test -j 1"
run: dart test -j 1
if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
working-directory: frontend_server_client
needs:
- job_001
- job_002
- job_003
- job_004
job_022:
name: "unit_test; windows; Dart main; PKG: test_common; `dart test --exclude-tags=release`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: main
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: test_common
- name: "test_common; dart test --exclude-tags=release"
run: "dart test --exclude-tags=release"
if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
working-directory: test_common
needs:
- job_001
- job_002
- job_003
- job_004
job_023:
name: "beta_cron; linux; Dart beta; PKG: dwds; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test -j 1`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:dwds;commands:command-test_5"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:beta
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test -j 1"
run: dart test -j 1
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
job_024:
name: "beta_cron; linux; Dart beta; PKG: webdev; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test -j 1`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:webdev;commands:command-test_5"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:webdev
os:ubuntu-latest;pub-cache-hosted;sdk:beta
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: webdev
- name: "webdev; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
- name: "webdev; dart test -j 1"
run: dart test -j 1
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
job_025:
name: "beta_cron; linux; Dart beta; PKG: dwds; `dart analyze .`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:dwds;commands:analyze_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:dwds
os:ubuntu-latest;pub-cache-hosted;sdk:beta
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: dwds; dart analyze .
run: dart analyze .
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
job_026:
name: "beta_cron; linux; Dart beta; PKG: webdev; `dart analyze .`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:webdev;commands:analyze_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:webdev
os:ubuntu-latest;pub-cache-hosted;sdk:beta
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: webdev
- name: webdev; dart analyze .
run: dart analyze .
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
job_027:
name: "beta_cron; windows; Dart beta; PKG: dwds; `dart test -j 1`"
runs-on: windows-latest
if: "github.event_name == 'schedule'"
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: "dwds; dart test -j 1"
run: dart test -j 1
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
job_028:
name: "beta_cron; windows; Dart beta; PKG: webdev; `dart test -j 1`"
runs-on: windows-latest
if: "github.event_name == 'schedule'"
steps:
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: webdev
- name: "webdev; dart test -j 1"
run: dart test -j 1
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
working-directory: webdev
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
job_029:
name: Notify failure
runs-on: ubuntu-latest
if: "(github.event_name == 'push' || github.event_name == 'schedule') && failure()"
steps:
- run: |
curl -H "Content-Type: application/json" -X POST -d \
"{'text':'Build failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \
"${CHAT_WEBHOOK_URL}"
env:
CHAT_WEBHOOK_URL: "${{ secrets.BUILD_AND_TEST_TEAM_CHAT_WEBHOOK_URL }}"
needs:
- job_001
- job_002
- job_003
- job_004
- job_005
- job_006
- job_007
- job_008
- job_009
- job_010
- job_011
- job_012
- job_013
- job_014
- job_015
- job_016
- job_017
- job_018
- job_019
- job_020
- job_021
- job_022
- job_023
- job_024
- job_025
- job_026
- job_027
- job_028