File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Flutter Package Workflow
33on :
44 workflow_call :
55 inputs :
6+ analyze_directories :
7+ required : false
8+ type : string
9+ default : " lib test"
610 concurrency :
711 required : false
812 type : number
7882 run : dart format --set-exit-if-changed lib test
7983
8084 - name : 🕵️ Analyze
81- run : flutter analyze lib test
85+ run : flutter analyze ${{inputs.analyze_directories}}
8286
8387 - name : 🧪 Run Tests
8488 run : very_good test -j ${{inputs.concurrency}} ${{(inputs.test_recursion && '--recursive') || ''}} ${{(inputs.test_optimization && '--optimization') || '--no-optimization'}} --coverage --test-randomize-ordering-seed random
Original file line number Diff line number Diff line change @@ -141,6 +141,12 @@ The Flutter package workflow consists of the following steps:
141141
142142# ## Inputs
143143
144+ # ### `analyze_directories`
145+
146+ **Optional** A space separated list of folders that should be analyzed.
147+
148+ **Default** `"lib test"`
149+
144150# ### `concurrency`
145151
146152**Optional** The number of concurrent test suites run.
You can’t perform that action at this time.
0 commit comments