Skip to content

Commit

Permalink
analyze / check formatting on all folders
Browse files Browse the repository at this point in the history
  • Loading branch information
MelbourneDeveloper committed Sep 7, 2024
1 parent 1c065eb commit 87c02b6
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,29 @@ jobs:
channel: "stable"
architecture: x64

- name: Get Dependencies for charts_common
- name: Get Dependencies
run: |
cd charts_common
flutter pub get
- name: Get Dependencies for charts_flutter
run: |
cd charts_flutter
flutter pub get
- name: Get Dependencies for charts_flutter/example
run: |
cd charts_flutter/example
flutter pub get
for dir in charts_common charts_flutter charts_flutter/example; do
cd $dir
flutter pub get
cd $GITHUB_WORKSPACE
done
- name: Analyze
run: |
cd charts_flutter
dart analyze --no-fatal-warnings
for dir in charts_common charts_flutter charts_flutter/example; do
cd $dir
dart analyze --no-fatal-warnings
cd $GITHUB_WORKSPACE
done
- name: Check Formatting
run: |
cd charts_flutter
dart format lib test --set-exit-if-changed
for dir in charts_common charts_flutter charts_flutter/example; do
cd $dir
dart format lib test --set-exit-if-changed
cd $GITHUB_WORKSPACE
done
- name: Run Tests
run: |
Expand Down

0 comments on commit 87c02b6

Please sign in to comment.