diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index d0db67731..7158f96d5 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -656,7 +656,7 @@ jobs: - job_005 - job_006 job_017: - name: "unit_test; linux; Dart 3.5.0-311.0.dev; PKG: pkgs/test_api; `dart test --preset travis -x browser`" + name: "unit_test; linux; Dart 3.5.0-311.0.dev; PKG: pkgs/test_api; `dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -681,8 +681,8 @@ jobs: 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 + - name: "pkgs/test_api; dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source" + run: "dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source" if: "always() && steps.pkgs_test_api_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test_api needs: @@ -1063,7 +1063,7 @@ jobs: - job_005 - job_006 job_028: - name: "unit_test; linux; Dart dev; PKG: pkgs/test_api; `dart test --preset travis -x browser`" + name: "unit_test; linux; Dart dev; PKG: pkgs/test_api; `dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -1088,8 +1088,8 @@ jobs: 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 + - name: "pkgs/test_api; dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source" + run: "dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source" if: "always() && steps.pkgs_test_api_pub_upgrade.conclusion == 'success'" working-directory: pkgs/test_api needs: diff --git a/tool/ci.sh b/tool/ci.sh index 040c70df8..8d2f819f9 100755 --- a/tool/ci.sh +++ b/tool/ci.sh @@ -116,8 +116,8 @@ for PKG in ${PKGS}; do dart test --preset travis --total-shards 5 --shard-index 4 || EXIT_CODE=$? ;; command_11) - echo 'dart test --preset travis -x browser' - dart test --preset travis -x browser || EXIT_CODE=$? + echo 'dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source' + dart test -p vm,chrome -c dart2js,dart2wasm,exe,kernel,source || EXIT_CODE=$? ;; format) echo 'dart format --output=none --set-exit-if-changed .'