There was an error while loading. Please reload this page.
1 parent 34b59c4 commit 32c976cCopy full SHA for 32c976c
.github/workflows/firestore_tests.yml
@@ -0,0 +1,24 @@
1
+name: Run CI tests
2
+
3
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ types: [opened, reopened, synchronize]
7
+ paths:
8
+ - "firestore/**"
9
+ push:
10
+ paths-ignore:
11
+ - "**.md"
12
13
+jobs:
14
+ unit_tests:
15
+ runs-on: ubuntu-latest
16
+ timeout-minutes: 5
17
+ steps:
18
+ - name: "checkout"
19
+ uses: actions/checkout@v2
20
+ - name: "install flutter"
21
+ uses: subosito/flutter-action@v2
22
+ - name: "Run widget tests"
23
+ working-directory: firestore
24
+ run: flutter test
firestore/test/widget_test.dart
@@ -0,0 +1,8 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+void main() {
+ testWidgets('Test fails', (WidgetTester tester) async {
+ // autopass
+ });
+}
0 commit comments