diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 1bb28fcf5..0d05c7557 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -126,16 +126,16 @@ jobs: 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`" + name: "analyze_and_format; linux; Dart dev; PKGS: integration_tests/regression, integration_tests/spawn_hybrid, 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 steps: - name: Cache Pub hosted dependencies uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:integration_tests/regression-integration_tests/spawn_hybrid-integration_tests/wasm-pkgs/checks-pkgs/test-pkgs/test_api-pkgs/test_core;commands:format-analyze_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:integration_tests/regression-integration_tests/spawn_hybrid-pkgs/checks-pkgs/test-pkgs/test_api-pkgs/test_core;commands:format-analyze_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:integration_tests/regression-integration_tests/spawn_hybrid-integration_tests/wasm-pkgs/checks-pkgs/test-pkgs/test_api-pkgs/test_core + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:integration_tests/regression-integration_tests/spawn_hybrid-pkgs/checks-pkgs/test-pkgs/test_api-pkgs/test_core os:ubuntu-latest;pub-cache-hosted;sdk:dev os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest @@ -172,19 +172,6 @@ jobs: run: dart analyze --fatal-infos if: "always() && steps.integration_tests_spawn_hybrid_pub_upgrade.conclusion == 'success'" working-directory: integration_tests/spawn_hybrid - - 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: integration_tests/wasm - - name: "integration_tests/wasm; dart format --output=none --set-exit-if-changed ." - run: "dart format --output=none --set-exit-if-changed ." - if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/wasm - - name: "integration_tests/wasm; dart analyze --fatal-infos" - run: dart analyze --fatal-infos - if: "always() && steps.integration_tests_wasm_pub_upgrade.conclusion == 'success'" - working-directory: integration_tests/wasm - id: pkgs_checks_pub_upgrade name: pkgs/checks; dart pub upgrade run: dart pub upgrade @@ -763,41 +750,6 @@ jobs: - job_003 - job_004 job_020: - name: "unit_test; linux; Dart dev; PKG: integration_tests/wasm; `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:dev;packages:integration_tests/wasm;commands:test_2" - restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:integration_tests/wasm - 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@0a8a0fc875eb934c15d08629302413c671d3f672 - with: - sdk: dev - - id: checkout - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - 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: 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_021: 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: @@ -832,7 +784,7 @@ jobs: - job_002 - job_003 - job_004 - job_022: + job_021: 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: @@ -867,7 +819,7 @@ jobs: - job_002 - job_003 - job_004 - job_023: + job_022: 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: @@ -902,7 +854,7 @@ jobs: - job_002 - job_003 - job_004 - job_024: + job_023: 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: @@ -937,7 +889,7 @@ jobs: - job_002 - job_003 - job_004 - job_025: + job_024: 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: @@ -972,7 +924,7 @@ jobs: - job_002 - job_003 - job_004 - job_026: + job_025: name: "unit_test; linux; Dart dev; PKG: pkgs/test_api; `dart test --preset travis -x browser`" runs-on: ubuntu-latest steps: @@ -1007,7 +959,7 @@ jobs: - job_002 - job_003 - job_004 - job_027: + job_026: name: "unit_test; osx; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: macos-latest steps: @@ -1042,7 +994,7 @@ jobs: - job_002 - job_003 - job_004 - job_028: + job_027: name: "unit_test; osx; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: macos-latest steps: @@ -1077,7 +1029,7 @@ jobs: - job_002 - job_003 - job_004 - job_029: + job_028: name: "unit_test; osx; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: macos-latest steps: @@ -1112,7 +1064,7 @@ jobs: - job_002 - job_003 - job_004 - job_030: + job_029: name: "unit_test; osx; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: macos-latest steps: @@ -1147,7 +1099,7 @@ jobs: - job_002 - job_003 - job_004 - job_031: + job_030: name: "unit_test; osx; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: macos-latest steps: @@ -1182,7 +1134,7 @@ jobs: - job_002 - job_003 - job_004 - job_032: + job_031: name: "unit_test; windows; Dart 3.5.0-311.0.dev; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: windows-latest steps: @@ -1207,7 +1159,7 @@ jobs: - job_002 - job_003 - job_004 - job_033: + job_032: name: "unit_test; windows; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 0`" runs-on: windows-latest steps: @@ -1232,7 +1184,7 @@ jobs: - job_002 - job_003 - job_004 - job_034: + job_033: name: "unit_test; windows; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 1`" runs-on: windows-latest steps: @@ -1257,7 +1209,7 @@ jobs: - job_002 - job_003 - job_004 - job_035: + job_034: name: "unit_test; windows; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 2`" runs-on: windows-latest steps: @@ -1282,7 +1234,7 @@ jobs: - job_002 - job_003 - job_004 - job_036: + job_035: name: "unit_test; windows; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 3`" runs-on: windows-latest steps: @@ -1307,7 +1259,7 @@ jobs: - job_002 - job_003 - job_004 - job_037: + job_036: name: "unit_test; windows; Dart 3.5.0-311.0.dev; PKG: pkgs/test; `dart test --preset travis --total-shards 5 --shard-index 4`" runs-on: windows-latest steps: @@ -1332,7 +1284,7 @@ jobs: - job_002 - job_003 - job_004 - job_038: + job_037: name: "unit_test; windows; Dart dev; PKG: integration_tests/spawn_hybrid; `dart test -p chrome,vm,node`" runs-on: windows-latest steps: @@ -1357,7 +1309,7 @@ jobs: - job_002 - job_003 - job_004 - job_039: + job_038: name: Notify failure runs-on: ubuntu-latest if: "(github.event_name == 'push' || github.event_name == 'schedule') && failure()" @@ -1406,4 +1358,3 @@ jobs: - job_035 - job_036 - job_037 - - job_038 diff --git a/integration_tests/wasm/dart_test.yaml b/integration_tests/wasm/dart_test.yaml index 6dacbcd11..a5e9fbe96 100644 --- a/integration_tests/wasm/dart_test.yaml +++ b/integration_tests/wasm/dart_test.yaml @@ -1,9 +1,9 @@ platforms: # TODO(https://github.com/dart-lang/test/issues/1790) - unskip -#- chrome +# - chrome - firefox # Node doesn't work because the version available in the current Ubuntu GitHub # runners is too old to support WASM+GC, which would be required to run Dart # tests. -#- node +# - node compilers: [dart2wasm] diff --git a/integration_tests/wasm/mono_pkg.yaml b/integration_tests/wasm/mono_pkg.yaml index ecd071c24..496a903d2 100644 --- a/integration_tests/wasm/mono_pkg.yaml +++ b/integration_tests/wasm/mono_pkg.yaml @@ -2,7 +2,8 @@ sdk: - pubspec -- dev +# TODO(https://github.com/dart-lang/test/issues/1790) - unskip +# - dev os: - linux