We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7850064 commit 9d7337cCopy full SHA for 9d7337c
.github/workflows/ci-open-pr.yml
@@ -0,0 +1,22 @@
1
+# Runs all the unit tests and the analyzer for any PR opened to merge into master branch.
2
+#
3
+# This helps ensure we avoid breaking existing functionality and stick to the rules
4
+# defined in the analysis_options.yaml file
5
+name: run tests & analyzer for new pr
6
+
7
+on:
8
+ pull_request:
9
+ branches: [ master ]
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: dart-lang/[email protected]
17
+ - name: get dependencies
18
+ run: dart pub get
19
+ - name: run tests
20
+ run: dart test
21
+ - name: run analyzer
22
+ run: dart analyze
0 commit comments