Add more tests to daily testing cron job (#2138)
diff --git a/.github/workflows/daily_testing.yml b/.github/workflows/daily_testing.yml
index 6209542..5dc149a 100644
--- a/.github/workflows/daily_testing.yml
+++ b/.github/workflows/daily_testing.yml
@@ -4,7 +4,7 @@
on:
schedule:
- - cron: '00 14 * * *' # Everyday at 3:00 PM UTC (8:00 AM PST)
+ - cron: "00 14 * * *" # Everyday at 3:00 PM UTC (8:00 AM PST)
jobs:
daily_testing:
@@ -23,13 +23,31 @@
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
+ - name: dwds; dart analyze .
+ run: dart analyze .
+ if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
+ working-directory: dwds
- id: dwds_daily_tests
name: "dwds; dart test --tags=daily"
run: "dart test --tags=daily"
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
working-directory: dwds
+ - id: webdev_pub_upgrade
+ name: webdev; dart pub upgrade
+ run: dart pub upgrade
+ if: "always() && steps.checkout.conclusion == 'success'"
+ working-directory: webdev
+ - name: webdev; dart analyze .
+ run: dart analyze .
+ if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
+ working-directory: webdev
+ - id: webdev_daily_tests
+ name: "webdev; dart test --tags=daily"
+ run: "dart test --tags=daily"
+ if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
+ working-directory: webdev
- name: "Notify failure"
- if: "always() && steps.dwds_daily_tests.conclusion == 'failure'"
+ if: "always() && steps.dwds_daily_tests.conclusion == 'failure' || steps.webdev_daily_tests.conclusion == 'failure'"
run: |
curl -H "Content-Type: application/json" -X POST -d \
"{'text':'Daily Webdev tests failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \
diff --git a/dwds/test/build_daemon_evaluate_test.dart b/dwds/test/build_daemon_evaluate_test.dart
index daab203..0de8a12 100644
--- a/dwds/test/build_daemon_evaluate_test.dart
+++ b/dwds/test/build_daemon_evaluate_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/dwds/test/expression_compiler_service_test.dart b/dwds/test/expression_compiler_service_test.dart
index 7d6a2b0..e71a869 100644
--- a/dwds/test/expression_compiler_service_test.dart
+++ b/dwds/test/expression_compiler_service_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
import 'dart:async';
diff --git a/dwds/test/frontend_server_evaluate_sound_test.dart b/dwds/test/frontend_server_evaluate_sound_test.dart
index 9f3f961..7534388 100644
--- a/dwds/test/frontend_server_evaluate_sound_test.dart
+++ b/dwds/test/frontend_server_evaluate_sound_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 5))
diff --git a/dwds/test/frontend_server_evaluate_weak_test.dart b/dwds/test/frontend_server_evaluate_weak_test.dart
index a6b8afc..43b7b29 100644
--- a/dwds/test/frontend_server_evaluate_weak_test.dart
+++ b/dwds/test/frontend_server_evaluate_weak_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 5))
diff --git a/dwds/test/instances/instance_inspection_test.dart b/dwds/test/instances/instance_inspection_test.dart
index 9be7dc1..db6b9c2 100644
--- a/dwds/test/instances/instance_inspection_test.dart
+++ b/dwds/test/instances/instance_inspection_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/dwds/test/instances/instance_test.dart b/dwds/test/instances/instance_test.dart
index 2fe80d7..7c44052 100644
--- a/dwds/test/instances/instance_test.dart
+++ b/dwds/test/instances/instance_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@Timeout(Duration(minutes: 2))
import 'package:dwds/src/debugging/inspector.dart';
diff --git a/dwds/test/instances/objects_test.dart b/dwds/test/instances/objects_test.dart
index d1da533..820bbc5 100644
--- a/dwds/test/instances/objects_test.dart
+++ b/dwds/test/instances/objects_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/dwds/test/instances/patterns_inspection_test.dart b/dwds/test/instances/patterns_inspection_test.dart
index 1aa2eb8..15f1b50 100644
--- a/dwds/test/instances/patterns_inspection_test.dart
+++ b/dwds/test/instances/patterns_inspection_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/dwds/test/instances/record_inspection_test.dart b/dwds/test/instances/record_inspection_test.dart
index f78337d..c0b9e2f 100644
--- a/dwds/test/instances/record_inspection_test.dart
+++ b/dwds/test/instances/record_inspection_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/dwds/test/instances/record_type_inspection_test.dart b/dwds/test/instances/record_type_inspection_test.dart
index d3e6254..b5b02d1 100644
--- a/dwds/test/instances/record_type_inspection_test.dart
+++ b/dwds/test/instances/record_type_inspection_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/dwds/test/instances/type_inspection_test.dart b/dwds/test/instances/type_inspection_test.dart
index af3a9b6..ac770a2 100644
--- a/dwds/test/instances/type_inspection_test.dart
+++ b/dwds/test/instances/type_inspection_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@TestOn('vm')
@Timeout(Duration(minutes: 2))
diff --git a/webdev/test/installation_test.dart b/webdev/test/installation_test.dart
index 91af6e0..f1c8916 100644
--- a/webdev/test/installation_test.dart
+++ b/webdev/test/installation_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@Tags(['daily'])
@Timeout(Duration(minutes: 3))
import 'dart:async';
import 'dart:convert';