diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 5fe3cfe827..9d4cc823e1 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -260,16 +260,16 @@ jobs: if: "always() && steps.scratch_space_pub_upgrade.conclusion == 'success'" working-directory: scratch_space job_004: - name: "test; linux; PKG: build_runner; `../tool/leak_check.sh`" + name: "test; linux; PKG: build; `dart test --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:command" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -280,30 +280,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: build_pub_upgrade + name: build; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: build_runner; ../tool/leak_check.sh - run: ../tool/leak_check.sh - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: build + - name: "build; dart test --test-randomize-ordering-seed=random" + run: "dart test --test-randomize-ordering-seed=random" + if: "always() && steps.build_pub_upgrade.conclusion == 'success'" + working-directory: build needs: - job_001 - job_002 - job_003 job_005: - name: "test; linux; PKG: build_runner; `dart test -P experiments --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_config; `dart test --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_3" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_config;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_config os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -314,30 +314,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: build_config_pub_upgrade + name: build_config; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: "build_runner; dart test -P experiments --test-randomize-ordering-seed=random" - run: "dart test -P experiments --test-randomize-ordering-seed=random" - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: build_config + - name: "build_config; dart test --test-randomize-ordering-seed=random" + run: "dart test --test-randomize-ordering-seed=random" + if: "always() && steps.build_config_pub_upgrade.conclusion == 'success'" + working-directory: build_config needs: - job_001 - job_002 - job_003 job_006: - name: "test; linux; PKG: build_runner; `dart test -t integration1 --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_daemon; `dart test --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_4" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_daemon;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_daemon os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -348,30 +348,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: build_daemon_pub_upgrade + name: build_daemon; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: "build_runner; dart test -t integration1 --test-randomize-ordering-seed=random" - run: "dart test -t integration1 --test-randomize-ordering-seed=random" - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: build_daemon + - name: "build_daemon; dart test --test-randomize-ordering-seed=random" + run: "dart test --test-randomize-ordering-seed=random" + if: "always() && steps.build_daemon_pub_upgrade.conclusion == 'success'" + working-directory: build_daemon needs: - job_001 - job_002 - job_003 job_007: - name: "test; linux; PKG: build_runner; `dart test -t integration2 --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_test; `dart test --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_5" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_test;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_test os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -382,30 +382,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: build_test_pub_upgrade + name: build_test; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: "build_runner; dart test -t integration2 --test-randomize-ordering-seed=random" - run: "dart test -t integration2 --test-randomize-ordering-seed=random" - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: build_test + - name: "build_test; dart test --test-randomize-ordering-seed=random" + run: "dart test --test-randomize-ordering-seed=random" + if: "always() && steps.build_test_pub_upgrade.conclusion == 'success'" + working-directory: build_test needs: - job_001 - job_002 - job_003 job_008: - name: "test; linux; PKG: build_runner; `dart test -t integration3 --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_web_compilers; `dart test --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_6" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_web_compilers;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_web_compilers os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -416,30 +416,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: build_web_compilers_pub_upgrade + name: build_web_compilers; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: "build_runner; dart test -t integration3 --test-randomize-ordering-seed=random" - run: "dart test -t integration3 --test-randomize-ordering-seed=random" - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: build_web_compilers + - name: "build_web_compilers; dart test --test-randomize-ordering-seed=random" + run: "dart test --test-randomize-ordering-seed=random" + if: "always() && steps.build_web_compilers_pub_upgrade.conclusion == 'success'" + working-directory: build_web_compilers needs: - job_001 - job_002 - job_003 job_009: - name: "test; linux; PKG: build_runner; `dart test -t integration4 --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: scratch_space; `dart test --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_7" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:scratch_space;commands:test_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:scratch_space os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -450,30 +450,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: scratch_space_pub_upgrade + name: scratch_space; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: "build_runner; dart test -t integration4 --test-randomize-ordering-seed=random" - run: "dart test -t integration4 --test-randomize-ordering-seed=random" - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: scratch_space + - name: "scratch_space; dart test --test-randomize-ordering-seed=random" + run: "dart test --test-randomize-ordering-seed=random" + if: "always() && steps.scratch_space_pub_upgrade.conclusion == 'success'" + working-directory: scratch_space needs: - job_001 - job_002 - job_003 job_010: - name: "test; linux; PKG: build_runner; `dart test -x integration1 -x integration2 -x integration3 -x integration4 --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_modules; `dart test -P presubmit --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_2" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_modules;commands:test_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_modules os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -484,23 +484,33 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_runner_pub_upgrade - name: build_runner; dart pub upgrade + - id: build_modules_pub_upgrade + name: build_modules; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_runner - - name: "build_runner; dart test -x integration1 -x integration2 -x integration3 -x integration4 --test-randomize-ordering-seed=random" - run: "dart test -x integration1 -x integration2 -x integration3 -x integration4 --test-randomize-ordering-seed=random" - if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" - working-directory: build_runner + working-directory: build_modules + - name: "build_modules; dart test -P presubmit --test-randomize-ordering-seed=random" + run: "dart test -P presubmit --test-randomize-ordering-seed=random" + if: "always() && steps.build_modules_pub_upgrade.conclusion == 'success'" + working-directory: build_modules needs: - job_001 - job_002 - job_003 job_011: - name: "test; windows; PKG: build_runner; `dart test -t integration1 --test-randomize-ordering-seed=random`" - runs-on: windows-latest + name: "test; linux; PKG: build_runner; `../tool/leak_check.sh`" + runs-on: ubuntu-latest steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:command" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -513,8 +523,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: build_runner - - name: "build_runner; dart test -t integration1 --test-randomize-ordering-seed=random" - run: "dart test -t integration1 --test-randomize-ordering-seed=random" + - name: build_runner; ../tool/leak_check.sh + run: ../tool/leak_check.sh if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" working-directory: build_runner needs: @@ -522,9 +532,19 @@ jobs: - job_002 - job_003 job_012: - name: "test; windows; PKG: build_runner; `dart test -t integration2 --test-randomize-ordering-seed=random`" - runs-on: windows-latest + name: "test; linux; PKG: build_runner; `dart test -P experiments --test-randomize-ordering-seed=random`" + runs-on: ubuntu-latest steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_3" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -537,8 +557,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: build_runner - - name: "build_runner; dart test -t integration2 --test-randomize-ordering-seed=random" - run: "dart test -t integration2 --test-randomize-ordering-seed=random" + - name: "build_runner; dart test -P experiments --test-randomize-ordering-seed=random" + run: "dart test -P experiments --test-randomize-ordering-seed=random" if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" working-directory: build_runner needs: @@ -546,9 +566,19 @@ jobs: - job_002 - job_003 job_013: - name: "test; windows; PKG: build_runner; `dart test -t integration3 --test-randomize-ordering-seed=random`" - runs-on: windows-latest + name: "test; linux; PKG: build_runner; `dart test -t integration1 --test-randomize-ordering-seed=random`" + runs-on: ubuntu-latest steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_4" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -561,8 +591,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: build_runner - - name: "build_runner; dart test -t integration3 --test-randomize-ordering-seed=random" - run: "dart test -t integration3 --test-randomize-ordering-seed=random" + - name: "build_runner; dart test -t integration1 --test-randomize-ordering-seed=random" + run: "dart test -t integration1 --test-randomize-ordering-seed=random" if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" working-directory: build_runner needs: @@ -570,9 +600,19 @@ jobs: - job_002 - job_003 job_014: - name: "test; windows; PKG: build_runner; `dart test -t integration4 --test-randomize-ordering-seed=random`" - runs-on: windows-latest + name: "test; linux; PKG: build_runner; `dart test -t integration2 --test-randomize-ordering-seed=random`" + runs-on: ubuntu-latest steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_5" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -585,8 +625,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: build_runner - - name: "build_runner; dart test -t integration4 --test-randomize-ordering-seed=random" - run: "dart test -t integration4 --test-randomize-ordering-seed=random" + - name: "build_runner; dart test -t integration2 --test-randomize-ordering-seed=random" + run: "dart test -t integration2 --test-randomize-ordering-seed=random" if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" working-directory: build_runner needs: @@ -594,16 +634,16 @@ jobs: - job_002 - job_003 job_015: - name: "unit_test; linux; PKG: build; `dart test --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_runner; `dart test -t integration3 --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build;commands:test_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_6" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -614,41 +654,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_pub_upgrade - name: build; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build - - name: "build; dart test --test-randomize-ordering-seed=random" - run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.build_pub_upgrade.conclusion == 'success'" - working-directory: build + working-directory: build_runner + - name: "build_runner; dart test -t integration3 --test-randomize-ordering-seed=random" + run: "dart test -t integration3 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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_016: - name: "unit_test; linux; PKG: build_config; `dart test --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_runner; `dart test -t integration4 --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_config;commands:test_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_7" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_config + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -659,41 +688,30 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_config_pub_upgrade - name: build_config; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_config - - name: "build_config; dart test --test-randomize-ordering-seed=random" - run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.build_config_pub_upgrade.conclusion == 'success'" - working-directory: build_config + working-directory: build_runner + - name: "build_runner; dart test -t integration4 --test-randomize-ordering-seed=random" + run: "dart test -t integration4 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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_017: - name: "unit_test; linux; PKG: build_daemon; `dart test --test-randomize-ordering-seed=random`" + name: "test; linux; PKG: build_runner; `dart test -x integration1 -x integration2 -x integration3 -x integration4 --test-randomize-ordering-seed=random`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_daemon;commands:test_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner;commands:test_2" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_daemon + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_runner os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -704,44 +722,23 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_daemon_pub_upgrade - name: build_daemon; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_daemon - - name: "build_daemon; dart test --test-randomize-ordering-seed=random" - run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.build_daemon_pub_upgrade.conclusion == 'success'" - working-directory: build_daemon + working-directory: build_runner + - name: "build_runner; dart test -x integration1 -x integration2 -x integration3 -x integration4 --test-randomize-ordering-seed=random" + run: "dart test -x integration1 -x integration2 -x integration3 -x integration4 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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_018: - name: "unit_test; linux; PKG: build_test; `dart test --test-randomize-ordering-seed=random`" - runs-on: ubuntu-latest + name: "test; windows; PKG: build_daemon; `dart test --test-randomize-ordering-seed=random`" + runs-on: windows-latest steps: - - name: Cache Pub hosted dependencies - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 - with: - path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_test;commands:test_0" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_test - 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -749,44 +746,23 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_test_pub_upgrade - name: build_test; dart pub upgrade + - id: build_daemon_pub_upgrade + name: build_daemon; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_test - - name: "build_test; dart test --test-randomize-ordering-seed=random" + working-directory: build_daemon + - name: "build_daemon; dart test --test-randomize-ordering-seed=random" run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.build_test_pub_upgrade.conclusion == 'success'" - working-directory: build_test + if: "always() && steps.build_daemon_pub_upgrade.conclusion == 'success'" + working-directory: build_daemon 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_019: - name: "unit_test; linux; PKG: build_web_compilers; `dart test --test-randomize-ordering-seed=random`" - runs-on: ubuntu-latest + name: "test; windows; PKG: build_runner; `dart test -t integration1 --test-randomize-ordering-seed=random`" + runs-on: windows-latest steps: - - name: Cache Pub hosted dependencies - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 - with: - path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_web_compilers;commands:test_0" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_web_compilers - 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -794,44 +770,23 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_web_compilers_pub_upgrade - name: build_web_compilers; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_web_compilers - - name: "build_web_compilers; dart test --test-randomize-ordering-seed=random" - run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.build_web_compilers_pub_upgrade.conclusion == 'success'" - working-directory: build_web_compilers + working-directory: build_runner + - name: "build_runner; dart test -t integration1 --test-randomize-ordering-seed=random" + run: "dart test -t integration1 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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_020: - name: "unit_test; linux; PKG: scratch_space; `dart test --test-randomize-ordering-seed=random`" - runs-on: ubuntu-latest + name: "test; windows; PKG: build_runner; `dart test -t integration2 --test-randomize-ordering-seed=random`" + runs-on: windows-latest steps: - - name: Cache Pub hosted dependencies - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 - with: - path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:scratch_space;commands:test_0" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:scratch_space - 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -839,44 +794,23 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: scratch_space_pub_upgrade - name: scratch_space; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: scratch_space - - name: "scratch_space; dart test --test-randomize-ordering-seed=random" - run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.scratch_space_pub_upgrade.conclusion == 'success'" - working-directory: scratch_space + working-directory: build_runner + - name: "build_runner; dart test -t integration2 --test-randomize-ordering-seed=random" + run: "dart test -t integration2 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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_021: - name: "unit_test; linux; PKG: build_modules; `dart test -P presubmit --test-randomize-ordering-seed=random`" - runs-on: ubuntu-latest + name: "test; windows; PKG: build_runner; `dart test -t integration3 --test-randomize-ordering-seed=random`" + runs-on: windows-latest steps: - - name: Cache Pub hosted dependencies - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 - with: - path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_modules;commands:test_1" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:build_modules - 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: @@ -884,32 +818,21 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_modules_pub_upgrade - name: build_modules; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_modules - - name: "build_modules; dart test -P presubmit --test-randomize-ordering-seed=random" - run: "dart test -P presubmit --test-randomize-ordering-seed=random" - if: "always() && steps.build_modules_pub_upgrade.conclusion == 'success'" - working-directory: build_modules + working-directory: build_runner + - name: "build_runner; dart test -t integration3 --test-randomize-ordering-seed=random" + run: "dart test -t integration3 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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_022: - name: "unit_test; windows; PKG: build_daemon; `dart test --test-randomize-ordering-seed=random`" + name: "test; windows; PKG: build_runner; `dart test -t integration4 --test-randomize-ordering-seed=random`" runs-on: windows-latest steps: - name: Setup Dart SDK @@ -919,27 +842,16 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - - id: build_daemon_pub_upgrade - name: build_daemon; dart pub upgrade + - id: build_runner_pub_upgrade + name: build_runner; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: build_daemon - - name: "build_daemon; dart test --test-randomize-ordering-seed=random" - run: "dart test --test-randomize-ordering-seed=random" - if: "always() && steps.build_daemon_pub_upgrade.conclusion == 'success'" - working-directory: build_daemon + working-directory: build_runner + - name: "build_runner; dart test -t integration4 --test-randomize-ordering-seed=random" + run: "dart test -t integration4 --test-randomize-ordering-seed=random" + if: "always() && steps.build_runner_pub_upgrade.conclusion == 'success'" + working-directory: build_runner 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 diff --git a/build/mono_pkg.yaml b/build/mono_pkg.yaml index aa025bbfb1..8f794d6c91 100644 --- a/build/mono_pkg.yaml +++ b/build/mono_pkg.yaml @@ -8,5 +8,5 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: --test-randomize-ordering-seed=random diff --git a/build_config/mono_pkg.yaml b/build_config/mono_pkg.yaml index aa025bbfb1..8f794d6c91 100644 --- a/build_config/mono_pkg.yaml +++ b/build_config/mono_pkg.yaml @@ -8,5 +8,5 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: --test-randomize-ordering-seed=random diff --git a/build_daemon/mono_pkg.yaml b/build_daemon/mono_pkg.yaml index da5f45663d..a933c82643 100644 --- a/build_daemon/mono_pkg.yaml +++ b/build_daemon/mono_pkg.yaml @@ -8,7 +8,7 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: --test-randomize-ordering-seed=random os: - linux diff --git a/build_modules/mono_pkg.yaml b/build_modules/mono_pkg.yaml index 571862d386..763e981849 100644 --- a/build_modules/mono_pkg.yaml +++ b/build_modules/mono_pkg.yaml @@ -8,5 +8,5 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: -P presubmit --test-randomize-ordering-seed=random diff --git a/build_test/mono_pkg.yaml b/build_test/mono_pkg.yaml index aa025bbfb1..8f794d6c91 100644 --- a/build_test/mono_pkg.yaml +++ b/build_test/mono_pkg.yaml @@ -8,5 +8,5 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: --test-randomize-ordering-seed=random diff --git a/build_web_compilers/mono_pkg.yaml b/build_web_compilers/mono_pkg.yaml index aa025bbfb1..8f794d6c91 100644 --- a/build_web_compilers/mono_pkg.yaml +++ b/build_web_compilers/mono_pkg.yaml @@ -8,5 +8,5 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: --test-randomize-ordering-seed=random diff --git a/scratch_space/mono_pkg.yaml b/scratch_space/mono_pkg.yaml index aa025bbfb1..8f794d6c91 100644 --- a/scratch_space/mono_pkg.yaml +++ b/scratch_space/mono_pkg.yaml @@ -8,5 +8,5 @@ stages: - analyze_and_format: - format - analyze: --fatal-infos . -- unit_test: +- test: - test: --test-randomize-ordering-seed=random