We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7850064 commit dc3bca6Copy full SHA for dc3bca6
.github/workflows/ci-open-pr.yml
@@ -0,0 +1,25 @@
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
+ # allows for this workflow to be run manually from the Actions tab
12
+ workflow_dispatch:
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - uses: dart-lang/[email protected]
20
+ - name: get dependencies
21
+ run: dart pub get
22
+ - name: run tests
23
+ run: dart test
24
+ - name: run analyzer
25
+ run: dart analyze
0 commit comments