diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 9a3cd79d3..8cda374ed 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -70,36 +70,6 @@ jobs: if: "always() && steps.pkgs_fake_async_pub_upgrade.conclusion == 'success'" working-directory: pkgs/fake_async job_003: - name: "analyze_and_format; linux; Dart 3.4.0; PKG: pkgs/matcher; `dart analyze`" - runs-on: ubuntu-latest - steps: - - name: Cache Pub hosted dependencies - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a - with: - path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/matcher;commands:analyze_1" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/matcher - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 - os:ubuntu-latest;pub-cache-hosted - os:ubuntu-latest - - name: Setup Dart SDK - uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 - with: - sdk: "3.4.0" - - id: checkout - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - id: pkgs_matcher_pub_upgrade - name: pkgs/matcher; dart pub upgrade - run: dart pub upgrade - if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/matcher - - name: pkgs/matcher; dart analyze - run: dart analyze - if: "always() && steps.pkgs_matcher_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/matcher - job_004: name: "analyze_and_format; linux; Dart 3.5.0; PKGS: integration_tests/regression, integration_tests/wasm; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos`" runs-on: ubuntu-latest steps: @@ -146,17 +116,17 @@ jobs: run: dart analyze --fatal-infos if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" working-directory: integration_tests/wasm - job_005: - name: "analyze_and_format; linux; Dart 3.5.0; PKGS: pkgs/checks, pkgs/test_core; `dart analyze`" + job_004: + name: "analyze_and_format; linux; Dart 3.5.0; PKGS: pkgs/checks, pkgs/matcher, pkgs/test_core; `dart analyze`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks-pkgs/test_core;commands:analyze_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks-pkgs/matcher-pkgs/test_core;commands:analyze_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks-pkgs/test_core + os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks-pkgs/matcher-pkgs/test_core os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -176,6 +146,15 @@ jobs: run: dart analyze if: "always() && steps.pkgs_checks_pub_upgrade.conclusion == 'success'" working-directory: pkgs/checks + - id: pkgs_matcher_pub_upgrade + name: pkgs/matcher; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: pkgs/matcher + - name: pkgs/matcher; dart analyze + run: dart analyze + if: "always() && steps.pkgs_matcher_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/matcher - id: pkgs_test_core_pub_upgrade name: pkgs/test_core; dart pub upgrade run: dart pub upgrade @@ -185,7 +164,7 @@ jobs: run: dart analyze if: "always() && steps.pkgs_test_core_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test_core - job_006: + job_005: name: "analyze_and_format; linux; Dart dev; PKGS: integration_tests/regression, integration_tests/spawn_hybrid, integration_tests/wasm, pkgs/checks, pkgs/fake_async, pkgs/matcher, pkgs/test, pkgs/test_api, pkgs/test_core; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos`" runs-on: ubuntu-latest steps: @@ -323,7 +302,7 @@ jobs: run: dart analyze --fatal-infos if: "always() && steps.pkgs_test_core_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test_core - job_007: + job_006: name: "analyze_and_format; windows; Dart 3.5.0; PKG: integration_tests/wasm; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos`" runs-on: windows-latest steps: @@ -347,7 +326,7 @@ jobs: run: dart analyze --fatal-infos if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" working-directory: integration_tests/wasm - job_008: + job_007: name: "analyze_and_format; windows; Dart dev; PKG: integration_tests/wasm; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos`" runs-on: windows-latest steps: @@ -371,7 +350,7 @@ jobs: run: dart analyze --fatal-infos if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" working-directory: integration_tests/wasm - job_009: + job_008: name: "unit_test; linux; Dart 3.3.0; PKG: pkgs/fake_async; `dart test`" runs-on: ubuntu-latest steps: @@ -409,37 +388,36 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_010: - name: "unit_test; linux; Dart 3.4.0; PKG: pkgs/matcher; `dart test`" + job_009: + name: "unit_test; linux; Dart 3.5.0; PKG: integration_tests/regression; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/matcher;commands:command_00" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:integration_tests/regression;commands:command_00" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/matcher - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:integration_tests/regression + os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 with: - sdk: "3.4.0" + sdk: "3.5.0" - id: checkout name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - id: pkgs_matcher_pub_upgrade - name: pkgs/matcher; dart pub upgrade + - id: integration_tests_regression_pub_upgrade + name: integration_tests/regression; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/matcher - - name: pkgs/matcher; dart test + working-directory: integration_tests/regression + - name: integration_tests/regression; dart test run: dart test - if: "always() && steps.pkgs_matcher_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/matcher + if: "always() && steps.integration_tests_regression_pub_upgrade.conclusion == 'success'" + working-directory: integration_tests/regression needs: - job_001 - job_002 @@ -448,18 +426,17 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_011: - name: "unit_test; linux; Dart 3.5.0; PKG: integration_tests/regression; `dart test`" + job_010: + name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/checks; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:integration_tests/regression;commands:command_00" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks;commands:command_00" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:integration_tests/regression + os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -470,15 +447,15 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - id: integration_tests_regression_pub_upgrade - name: integration_tests/regression; dart pub upgrade + - id: pkgs_checks_pub_upgrade + name: pkgs/checks; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: integration_tests/regression - - name: integration_tests/regression; dart test + working-directory: pkgs/checks + - name: pkgs/checks; dart test run: dart test - if: "always() && steps.integration_tests_regression_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/regression + if: "always() && steps.pkgs_checks_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/checks needs: - job_001 - job_002 @@ -487,18 +464,17 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_012: - name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/checks; `dart test`" + job_011: + name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/matcher; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks;commands:command_00" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/matcher;commands:command_00" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/checks + os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0;packages:pkgs/matcher os:ubuntu-latest;pub-cache-hosted;sdk:3.5.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -509,15 +485,15 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - id: pkgs_checks_pub_upgrade - name: pkgs/checks; dart pub upgrade + - id: pkgs_matcher_pub_upgrade + name: pkgs/matcher; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/checks - - name: pkgs/checks; dart test + working-directory: pkgs/matcher + - name: pkgs/matcher; dart test run: dart test - if: "always() && steps.pkgs_checks_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/checks + if: "always() && steps.pkgs_matcher_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/matcher needs: - job_001 - job_002 @@ -526,8 +502,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_013: + job_012: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test_core; `dart test`" runs-on: ubuntu-latest steps: @@ -565,8 +540,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_014: + job_013: name: "unit_test; linux; Dart 3.5.0; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: ubuntu-latest steps: @@ -604,8 +578,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_015: + job_014: name: "unit_test; linux; Dart 3.5.0; PKG: integration_tests/wasm; `dart test --timeout=60s`" runs-on: ubuntu-latest steps: @@ -643,8 +616,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_016: + job_015: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: ubuntu-latest steps: @@ -682,8 +654,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_017: + job_016: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: ubuntu-latest steps: @@ -721,8 +692,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_018: + job_017: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: ubuntu-latest steps: @@ -760,8 +730,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_019: + job_018: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: ubuntu-latest steps: @@ -799,8 +768,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_020: + job_019: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: ubuntu-latest steps: @@ -838,8 +806,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_021: + job_020: name: "unit_test; linux; Dart 3.5.0; PKG: pkgs/test_api; `dart test --preset travis -x browser`" runs-on: ubuntu-latest steps: @@ -877,8 +844,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_022: + job_021: name: "unit_test; linux; Dart dev; PKG: integration_tests/regression; `dart test`" runs-on: ubuntu-latest steps: @@ -916,8 +882,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_023: + job_022: name: "unit_test; linux; Dart dev; PKG: pkgs/checks; `dart test`" runs-on: ubuntu-latest steps: @@ -955,8 +920,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_024: + job_023: name: "unit_test; linux; Dart dev; PKG: pkgs/fake_async; `dart test`" runs-on: ubuntu-latest steps: @@ -994,8 +958,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_025: + job_024: name: "unit_test; linux; Dart dev; PKG: pkgs/matcher; `dart test`" runs-on: ubuntu-latest steps: @@ -1033,8 +996,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_026: + job_025: name: "unit_test; linux; Dart dev; PKG: pkgs/test_core; `dart test`" runs-on: ubuntu-latest steps: @@ -1072,8 +1034,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_027: + job_026: name: "unit_test; linux; Dart dev; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: ubuntu-latest steps: @@ -1111,8 +1072,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_028: + job_027: name: "unit_test; linux; Dart dev; PKG: integration_tests/wasm; `dart test --timeout=60s`" runs-on: ubuntu-latest steps: @@ -1150,8 +1110,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_029: + job_028: name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: ubuntu-latest steps: @@ -1189,8 +1148,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_030: + job_029: name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: ubuntu-latest steps: @@ -1228,8 +1186,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_031: + job_030: name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: ubuntu-latest steps: @@ -1267,8 +1224,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_032: + job_031: name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: ubuntu-latest steps: @@ -1306,8 +1262,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_033: + job_032: name: "unit_test; linux; Dart dev; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: ubuntu-latest steps: @@ -1345,8 +1300,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_034: + job_033: name: "unit_test; linux; Dart dev; PKG: pkgs/test_api; `dart test --preset travis -x browser`" runs-on: ubuntu-latest steps: @@ -1384,8 +1338,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_035: + job_034: name: "unit_test; osx; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: macos-latest steps: @@ -1423,8 +1376,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_036: + job_035: name: "unit_test; osx; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: macos-latest steps: @@ -1462,8 +1414,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_037: + job_036: name: "unit_test; osx; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: macos-latest steps: @@ -1501,8 +1452,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_038: + job_037: name: "unit_test; osx; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: macos-latest steps: @@ -1540,8 +1490,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_039: + job_038: name: "unit_test; osx; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: macos-latest steps: @@ -1579,8 +1528,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_040: + job_039: name: "unit_test; windows; Dart 3.5.0; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: windows-latest steps: @@ -1608,8 +1556,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_041: + job_040: name: "unit_test; windows; Dart 3.5.0; PKG: integration_tests/wasm; `dart test --timeout=60s`" runs-on: windows-latest steps: @@ -1637,8 +1584,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_042: + job_041: name: "unit_test; windows; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: windows-latest steps: @@ -1666,8 +1612,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_043: + job_042: name: "unit_test; windows; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: windows-latest steps: @@ -1695,8 +1640,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_044: + job_043: name: "unit_test; windows; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: windows-latest steps: @@ -1724,8 +1668,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_045: + job_044: name: "unit_test; windows; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: windows-latest steps: @@ -1753,8 +1696,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_046: + job_045: name: "unit_test; windows; Dart 3.5.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: windows-latest steps: @@ -1782,8 +1724,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_047: + job_046: name: "unit_test; windows; Dart dev; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: windows-latest steps: @@ -1811,8 +1752,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_048: + job_047: name: "unit_test; windows; Dart dev; PKG: integration_tests/wasm; `dart test --timeout=60s`" runs-on: windows-latest steps: @@ -1840,8 +1780,7 @@ jobs: - job_005 - job_006 - job_007 - - job_008 - job_049: + job_048: name: Notify failure runs-on: ubuntu-latest if: "(github.event_name == 'push' || github.event_name == 'schedule') && failure()" @@ -1900,4 +1839,3 @@ jobs: - job_045 - job_046 - job_047 - - job_048