diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 38f16a1f1..b8b1b5fcb 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -40,45 +40,6 @@ jobs: - name: mono_repo self validate run: dart pub global run mono_repo generate --validate job_002: - name: "analyze_and_format; linux; Dart 3.2.0; PKGS: pkgs/checks, pkgs/test_core; `dart analyze`" - runs-on: ubuntu-latest - steps: - - name: Cache Pub hosted dependencies - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 - with: - path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/checks-pkgs/test_core;commands:analyze_1" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/checks-pkgs/test_core - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 - os:ubuntu-latest;pub-cache-hosted - os:ubuntu-latest - - name: Setup Dart SDK - uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 - with: - sdk: "3.2.0" - - id: checkout - name: Checkout repository - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: pkgs_checks_pub_upgrade - name: pkgs/checks; dart pub upgrade - run: dart pub upgrade - if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/checks - - name: pkgs/checks; dart analyze - run: dart analyze - if: "always() && steps.pkgs_checks_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/checks - - id: pkgs_test_core_pub_upgrade - name: pkgs/test_core; dart pub upgrade - run: dart pub upgrade - if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/test_core - - name: pkgs/test_core; dart analyze - run: dart analyze - if: "always() && steps.pkgs_test_core_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/test_core - job_003: name: "analyze_and_format; linux; Dart 3.4.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: @@ -125,6 +86,45 @@ jobs: run: dart analyze --fatal-infos if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" working-directory: integration_tests/wasm + job_003: + name: "analyze_and_format; linux; Dart 3.4.0; PKGS: pkgs/checks, pkgs/test_core; `dart analyze`" + runs-on: ubuntu-latest + steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/checks-pkgs/test_core;commands:analyze_1" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/checks-pkgs/test_core + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 + with: + sdk: "3.4.0" + - id: checkout + name: Checkout repository + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + - id: pkgs_checks_pub_upgrade + name: pkgs/checks; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: pkgs/checks + - name: pkgs/checks; dart analyze + run: dart analyze + if: "always() && steps.pkgs_checks_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/checks + - id: pkgs_test_core_pub_upgrade + name: pkgs/test_core; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: pkgs/test_core + - name: pkgs/test_core; dart analyze + run: dart analyze + if: "always() && steps.pkgs_test_core_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/test_core job_004: name: "analyze_and_format; linux; Dart dev; PKGS: integration_tests/regression, integration_tests/spawn_hybrid, integration_tests/wasm, pkgs/checks, pkgs/test, pkgs/test_api, pkgs/test_core; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos`" runs-on: ubuntu-latest @@ -238,58 +238,58 @@ jobs: if: "always() && steps.pkgs_test_core_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test_core job_005: - name: "unit_test; linux; Dart 3.2.0; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" + name: "unit_test; linux; Dart 3.4.0; PKG: integration_tests/regression; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:integration_tests/spawn_hybrid;commands:test_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/regression;commands:command_01" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:integration_tests/spawn_hybrid - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/regression + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: integration_tests_spawn_hybrid_pub_upgrade - name: integration_tests/spawn_hybrid; 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: integration_tests/spawn_hybrid - - name: "integration_tests/spawn_hybrid; dart test -p chrome,vm,node" - run: "dart test -p chrome,vm,node" - if: "always() && steps.integration_tests_spawn_hybrid_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/spawn_hybrid + working-directory: integration_tests/regression + - name: integration_tests/regression; dart test + run: dart test + if: "always() && steps.integration_tests_regression_pub_upgrade.conclusion == 'success'" + working-directory: integration_tests/regression needs: - job_001 - job_002 - job_003 - job_004 job_006: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/checks; `dart test`" + name: "unit_test; linux; Dart 3.4.0; PKG: pkgs/checks; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/checks;commands:command_01" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/checks;commands:command_01" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/checks - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/checks + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -308,93 +308,97 @@ jobs: - job_003 - job_004 job_007: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0`" + name: "unit_test; linux; Dart 3.4.0; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test;commands:command_02" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/spawn_hybrid;commands:test_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/spawn_hybrid + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: pkgs_test_pub_upgrade - name: pkgs/test; dart pub upgrade + - id: integration_tests_spawn_hybrid_pub_upgrade + name: integration_tests/spawn_hybrid; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/test - - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0" - run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0" - if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/test + working-directory: integration_tests/spawn_hybrid + - name: "integration_tests/spawn_hybrid; dart test -p chrome,vm,node" + run: "dart test -p chrome,vm,node" + if: "always() && steps.integration_tests_spawn_hybrid_pub_upgrade.conclusion == 'success'" + working-directory: integration_tests/spawn_hybrid needs: - job_001 - job_002 - job_003 - job_004 job_008: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1`" + name: "unit_test; linux; Dart 3.4.0; PKG: integration_tests/wasm; `pushd /tmp && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && popd && which google-chrome-beta`, `dart test --timeout=60s`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test;commands:command_03" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/wasm;commands:command_00-test_2" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/wasm + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: pkgs_test_pub_upgrade - name: pkgs/test; dart pub upgrade + - id: integration_tests_wasm_pub_upgrade + name: integration_tests/wasm; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/test - - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1" - run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1" - if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/test + working-directory: integration_tests/wasm + - name: "integration_tests/wasm; pushd /tmp && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && popd && which google-chrome-beta" + run: "pushd /tmp && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && popd && which google-chrome-beta" + if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" + working-directory: integration_tests/wasm + - name: "integration_tests/wasm; dart test --timeout=60s" + run: "dart test --timeout=60s" + if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" + working-directory: integration_tests/wasm needs: - job_001 - job_002 - job_003 - job_004 job_009: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2`" + name: "unit_test; linux; Dart 3.4.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: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test;commands:command_04" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test;commands:command_02" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -403,8 +407,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: pkgs/test - - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2" - run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2" + - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0" + run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 0" if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test needs: @@ -413,23 +417,23 @@ jobs: - job_003 - job_004 job_010: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3`" + name: "unit_test; linux; Dart 3.4.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: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test;commands:command_05" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test;commands:command_03" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -438,8 +442,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: pkgs/test - - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3" - run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3" + - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1" + run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 1" if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test needs: @@ -448,23 +452,23 @@ jobs: - job_003 - job_004 job_011: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/test; `xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4`" + name: "unit_test; linux; Dart 3.4.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: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test;commands:command_06" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test;commands:command_04" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -473,8 +477,8 @@ jobs: run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: pkgs/test - - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4" - run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4" + - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2" + run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 2" if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test needs: @@ -483,51 +487,51 @@ jobs: - job_003 - job_004 job_012: - name: "unit_test; linux; Dart 3.2.0; PKG: pkgs/test_api; `dart test --preset travis -x browser`" + name: "unit_test; linux; Dart 3.4.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: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test_api;commands:command_12" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test;commands:command_05" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/test_api - os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test + 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@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: pkgs_test_api_pub_upgrade - name: pkgs/test_api; dart pub upgrade + - id: pkgs_test_pub_upgrade + name: pkgs/test; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: pkgs/test_api - - name: "pkgs/test_api; dart test --preset travis -x browser" - run: dart test --preset travis -x browser - if: "always() && steps.pkgs_test_api_pub_upgrade.conclusion == 'success'" - working-directory: pkgs/test_api + working-directory: pkgs/test + - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3" + run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 3" + if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/test needs: - job_001 - job_002 - job_003 - job_004 job_013: - name: "unit_test; linux; Dart 3.4.0; PKG: integration_tests/regression; `dart test`" + name: "unit_test; linux; Dart 3.4.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: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/regression;commands:command_01" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test;commands:command_06" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/regression + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -538,31 +542,31 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: integration_tests_regression_pub_upgrade - name: integration_tests/regression; dart pub upgrade + - id: pkgs_test_pub_upgrade + name: pkgs/test; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: integration_tests/regression - - name: integration_tests/regression; dart test - run: dart test - if: "always() && steps.integration_tests_regression_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/regression + working-directory: pkgs/test + - name: "pkgs/test; xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4" + run: "xvfb-run -s \"-screen 0 1024x768x24\" dart test --preset travis --total-shards 5 --shard-index 4" + if: "always() && steps.pkgs_test_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/test needs: - job_001 - job_002 - job_003 - job_004 job_014: - name: "unit_test; linux; Dart 3.4.0; PKG: integration_tests/wasm; `pushd /tmp && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && popd && which google-chrome-beta`, `dart test --timeout=60s`" + name: "unit_test; linux; Dart 3.4.0; PKG: pkgs/test_api; `dart test --preset travis -x browser`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/wasm;commands:command_00-test_2" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test_api;commands:command_12" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:integration_tests/wasm + os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/test_api os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -573,19 +577,15 @@ jobs: - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - - id: integration_tests_wasm_pub_upgrade - name: integration_tests/wasm; dart pub upgrade + - id: pkgs_test_api_pub_upgrade + name: pkgs/test_api; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: integration_tests/wasm - - name: "integration_tests/wasm; pushd /tmp && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && popd && which google-chrome-beta" - run: "pushd /tmp && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && popd && which google-chrome-beta" - if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/wasm - - name: "integration_tests/wasm; dart test --timeout=60s" - run: "dart test --timeout=60s" - if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/wasm + working-directory: pkgs/test_api + - name: "pkgs/test_api; dart test --preset travis -x browser" + run: dart test --preset travis -x browser + if: "always() && steps.pkgs_test_api_pub_upgrade.conclusion == 'success'" + working-directory: pkgs/test_api needs: - job_001 - job_002 @@ -946,13 +946,13 @@ jobs: - job_003 - job_004 job_025: - name: "unit_test; windows; Dart 3.2.0; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" + name: "unit_test; windows; Dart 3.4.0; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: windows-latest steps: - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -971,13 +971,13 @@ jobs: - job_003 - job_004 job_026: - name: "unit_test; windows; Dart 3.2.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 0`" + name: "unit_test; windows; Dart 3.4.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: windows-latest steps: - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -996,13 +996,13 @@ jobs: - job_003 - job_004 job_027: - name: "unit_test; windows; Dart 3.2.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 1`" + name: "unit_test; windows; Dart 3.4.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: windows-latest steps: - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -1021,13 +1021,13 @@ jobs: - job_003 - job_004 job_028: - name: "unit_test; windows; Dart 3.2.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 2`" + name: "unit_test; windows; Dart 3.4.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: windows-latest steps: - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -1046,13 +1046,13 @@ jobs: - job_003 - job_004 job_029: - name: "unit_test; windows; Dart 3.2.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 3`" + name: "unit_test; windows; Dart 3.4.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: windows-latest steps: - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 @@ -1071,13 +1071,13 @@ jobs: - job_003 - job_004 job_030: - name: "unit_test; windows; Dart 3.2.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 4`" + name: "unit_test; windows; Dart 3.4.0; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: windows-latest steps: - name: Setup Dart SDK uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 with: - sdk: "3.2.0" + sdk: "3.4.0" - id: checkout name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 diff --git a/integration_tests/spawn_hybrid/pubspec.yaml b/integration_tests/spawn_hybrid/pubspec.yaml index a8cbbdbae..e0e0b8ee5 100644 --- a/integration_tests/spawn_hybrid/pubspec.yaml +++ b/integration_tests/spawn_hybrid/pubspec.yaml @@ -1,7 +1,7 @@ name: spawn_hybrid publish_to: none environment: - sdk: ^3.2.0 + sdk: ^3.4.0 dependencies: async: ^2.9.0 path: ^1.8.2 diff --git a/pkgs/checks/CHANGELOG.md b/pkgs/checks/CHANGELOG.md index 8ef827eb1..91cc3e986 100644 --- a/pkgs/checks/CHANGELOG.md +++ b/pkgs/checks/CHANGELOG.md @@ -1,6 +1,6 @@ ## 0.3.1-wip -- Update min SDK constraint to 3.2.0. +- Update min SDK constraint to 3.4.0. ## 0.3.0 diff --git a/pkgs/checks/pubspec.yaml b/pkgs/checks/pubspec.yaml index 1522ecf29..7a3eb3744 100644 --- a/pkgs/checks/pubspec.yaml +++ b/pkgs/checks/pubspec.yaml @@ -6,7 +6,7 @@ description: >- repository: https://github.com/dart-lang/test/tree/master/pkgs/checks environment: - sdk: ^3.2.0 + sdk: ^3.4.0 dependencies: async: ^2.8.0 diff --git a/pkgs/test/CHANGELOG.md b/pkgs/test/CHANGELOG.md index 0bb81cdc3..dfcd704cd 100644 --- a/pkgs/test/CHANGELOG.md +++ b/pkgs/test/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.25.8-wip + +* Increase SDK constraint to ^3.4.0. + ## 1.25.7 * Enable asserts for `dart2wasm` tests. diff --git a/pkgs/test/pubspec.yaml b/pkgs/test/pubspec.yaml index 9037cf178..e4d425bfc 100644 --- a/pkgs/test/pubspec.yaml +++ b/pkgs/test/pubspec.yaml @@ -1,11 +1,11 @@ name: test -version: 1.25.7 +version: 1.25.8-wip description: >- A full featured library for writing and running Dart tests across platforms. repository: https://github.com/dart-lang/test/tree/master/pkgs/test environment: - sdk: ^3.2.0 + sdk: ^3.4.0 dependencies: analyzer: '>=5.12.0 <7.0.0' @@ -34,8 +34,8 @@ dependencies: stream_channel: ^2.1.0 # Use an exact version until the test_api and test_core package are stable. - test_api: 0.7.2 - test_core: 0.6.4 + test_api: 0.7.3 + test_core: 0.6.5 typed_data: ^1.3.0 web_socket_channel: '>=2.0.0 <4.0.0' diff --git a/pkgs/test_api/CHANGELOG.md b/pkgs/test_api/CHANGELOG.md index 56050d738..24646b2fa 100644 --- a/pkgs/test_api/CHANGELOG.md +++ b/pkgs/test_api/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.7.3-wip + +* Increase SDK constraint to ^3.4.0. + ## 0.7.2 * Update min SDK constraint to 3.2.0. diff --git a/pkgs/test_api/pubspec.yaml b/pkgs/test_api/pubspec.yaml index fd9a94872..de874a5ba 100644 --- a/pkgs/test_api/pubspec.yaml +++ b/pkgs/test_api/pubspec.yaml @@ -1,11 +1,11 @@ name: test_api -version: 0.7.2 +version: 0.7.3-wip description: >- The user facing API for structuring Dart tests and checking expectations. repository: https://github.com/dart-lang/test/tree/master/pkgs/test_api environment: - sdk: ^3.2.0 + sdk: ^3.4.0 dependencies: async: ^2.5.0 diff --git a/pkgs/test_core/CHANGELOG.md b/pkgs/test_core/CHANGELOG.md index cd058d450..6110d421f 100644 --- a/pkgs/test_core/CHANGELOG.md +++ b/pkgs/test_core/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.5-wip + +* Increase SDK constraint to ^3.4.0. + ## 0.6.4 * Enable asserts for `dart2wasm` tests. diff --git a/pkgs/test_core/pubspec.yaml b/pkgs/test_core/pubspec.yaml index 0deb5aca1..c1d1c9b0c 100644 --- a/pkgs/test_core/pubspec.yaml +++ b/pkgs/test_core/pubspec.yaml @@ -1,10 +1,10 @@ name: test_core -version: 0.6.4 +version: 0.6.5-wip description: A basic library for writing tests and running them on the VM. repository: https://github.com/dart-lang/test/tree/master/pkgs/test_core environment: - sdk: ^3.2.0 + sdk: ^3.4.0 dependencies: analyzer: '>=3.3.0 <7.0.0' @@ -26,7 +26,7 @@ dependencies: stack_trace: ^1.10.0 stream_channel: ^2.1.0 # Use an exact version until the test_api package is stable. - test_api: 0.7.2 + test_api: 0.7.3 vm_service: ">=6.0.0 <15.0.0" yaml: ^3.0.0