File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 11name : " App Validation"
22description : " Runs lint, format, and test on an app"
3+ inputs :
4+ working-directory :
5+ description : " Directory to run validation in"
6+ required : true
37runs :
48 using : " composite"
59 steps :
610 - name : Set up flutter
711 uses : kuhnroyal/flutter-fvm-config-action/setup@v3
12+ working-directory : ${{ inputs.working-directory }}
813
914 - name : Install linux integration test dependencies
1015 shell : bash
1116 run : sudo apt-get update && sudo apt-get install -y libglu1-mesa xvfb
17+ working-directory : ${{ inputs.working-directory }}
1218
1319 - name : Get dependencies
1420 shell : bash
1521 run : flutter pub get
22+ working-directory : ${{ inputs.working-directory }}
1623
1724 - name : Check dart formatting
1825 shell : bash
1926 run : dart format -o none --set-exit-if-changed .
27+ working-directory : ${{ inputs.working-directory }}
2028
2129 - name : Check dart analysis
2230 shell : bash
2331 run : dart analyze --fatal-infos --fatal-warnings .
32+ working-directory : ${{ inputs.working-directory }}
2433
2534 - name : Run unit tests
2635 shell : bash
2736 run : flutter test
37+ working-directory : ${{ inputs.working-directory }}
2838
2939 - name : Run linux integration tests
3040 shell : bash
3141 run : |
3242 export DISPLAY=:99 # Set display for Xvfb
3343 xvfb-run -a flutter test integration_test/app_test.dart -d linux
44+ working-directory : ${{ inputs.working-directory }}
Original file line number Diff line number Diff line change 1919 uses : actions/checkout@v4
2020
2121 - uses : ./.github/actions/app_validation
22+ with :
23+ working-directory : vanilla
You can’t perform that action at this time.
0 commit comments