-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6650698
commit 726ac1c
Showing
6 changed files
with
81 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Flutter Tests | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
flutter_setup: | ||
uses: ./.github/workflows/flutter_setup.yml | ||
|
||
build-and-test: | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Analyze project source | ||
run: dart analyze | ||
|
||
- name: Run tests | ||
run: flutter test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Flutter Setup | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
flutter_setup: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Flutter SDK | ||
uses: flutter-actions/setup-flutter@v4 | ||
with: | ||
channel: stable | ||
version: 3.27.0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
flutter pub get | ||
cd example/ios | ||
pod install | ||
cd ../.. | ||
- name: Verify Flutter Installation | ||
run: flutter doctor -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: JDK Setup | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
jdk_setup: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup JDK 17 | ||
with: | ||
distribution: 'corretto' | ||
java-version: '17' | ||
cache: 'gradle' | ||
|
||
- name: Verify JDK Installation | ||
run: java -version |