Skip to content

Commit 06abe90

Browse files
authored
Add more tests to daily testing cron job (#2138)
1 parent 5cb2dcf commit 06abe90

13 files changed

+32
-2
lines changed

.github/workflows/daily_testing.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Daily Testing
44

55
on:
66
schedule:
7-
- cron: '00 14 * * *' # Everyday at 3:00 PM UTC (8:00 AM PST)
7+
- cron: "00 14 * * *" # Everyday at 3:00 PM UTC (8:00 AM PST)
88

99
jobs:
1010
daily_testing:
@@ -23,13 +23,31 @@ jobs:
2323
run: dart pub upgrade
2424
if: "always() && steps.checkout.conclusion == 'success'"
2525
working-directory: dwds
26+
- name: dwds; dart analyze .
27+
run: dart analyze .
28+
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
29+
working-directory: dwds
2630
- id: dwds_daily_tests
2731
name: "dwds; dart test --tags=daily"
2832
run: "dart test --tags=daily"
2933
if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
3034
working-directory: dwds
35+
- id: webdev_pub_upgrade
36+
name: webdev; dart pub upgrade
37+
run: dart pub upgrade
38+
if: "always() && steps.checkout.conclusion == 'success'"
39+
working-directory: webdev
40+
- name: webdev; dart analyze .
41+
run: dart analyze .
42+
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
43+
working-directory: webdev
44+
- id: webdev_daily_tests
45+
name: "webdev; dart test --tags=daily"
46+
run: "dart test --tags=daily"
47+
if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
48+
working-directory: webdev
3149
- name: "Notify failure"
32-
if: "always() && steps.dwds_daily_tests.conclusion == 'failure'"
50+
if: "always() && steps.dwds_daily_tests.conclusion == 'failure' || steps.webdev_daily_tests.conclusion == 'failure'"
3351
run: |
3452
curl -H "Content-Type: application/json" -X POST -d \
3553
"{'text':'Daily Webdev tests failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \

dwds/test/build_daemon_evaluate_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 2))
78

dwds/test/expression_compiler_service_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 2))
78
import 'dart:async';

dwds/test/frontend_server_evaluate_sound_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 5))
78

dwds/test/frontend_server_evaluate_weak_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 5))
78

dwds/test/instances/instance_inspection_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 2))
78

dwds/test/instances/instance_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@Timeout(Duration(minutes: 2))
67

78
import 'package:dwds/src/debugging/inspector.dart';

dwds/test/instances/objects_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 2))
78

dwds/test/instances/patterns_inspection_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 2))
78

dwds/test/instances/record_inspection_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Tags(['daily'])
56
@TestOn('vm')
67
@Timeout(Duration(minutes: 2))
78

0 commit comments

Comments
 (0)