Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
ee0f3bd
Upgrade the vanilla app to the latest version of Flutter
brianegan Jul 5, 2025
e051916
Migrate flutter_driver to integration_test
brianegan Jul 5, 2025
ee0309b
Fix tests
brianegan Jul 5, 2025
b82c0bd
Migrate to mockito again
brianegan Jul 5, 2025
2203fcf
Update for tests
brianegan Jul 6, 2025
fa3646b
Upgrade vanilla lints
brianegan Jul 6, 2025
76d12ad
Remove old CI bits, to be replaced by github actions
brianegan Jul 6, 2025
9ce6879
Remove Copyright notices
brianegan Jul 6, 2025
8698493
Remove deprecated samples
brianegan Jul 6, 2025
67f5407
Fix line counter
brianegan Jul 6, 2025
47dab59
Fix line counter
brianegan Jul 6, 2025
523216b
Convert dart line counter to bash
brianegan Jul 6, 2025
5637d1e
Use fvm for flutter version
brianegan Jul 6, 2025
b7a12a6
Add web integration test file
brianegan Jul 6, 2025
098d377
Regenerate vanilla project
brianegan Jul 6, 2025
e8f5a84
Rename test file
brianegan Jul 6, 2025
97f396b
Make inherited_widget example work
brianegan Jul 6, 2025
e3f386f
Remove deprecated RTDB repository
brianegan Jul 9, 2025
385d819
Delete frideos example (library deprecated)
brianegan Jul 9, 2025
c71cd16
Migrate to github CI
brianegan Jul 9, 2025
f0415db
Checkout first
brianegan Jul 9, 2025
e364fd9
Rename github action
brianegan Jul 9, 2025
8246550
specify shell
brianegan Jul 9, 2025
4275a7a
Get rid of bad actions
brianegan Jul 9, 2025
24042a7
Fix working directory
brianegan Jul 9, 2025
09c9028
Keep fixing the CI
brianegan Jul 9, 2025
658eb17
install more deps for building flutter apps
brianegan Jul 9, 2025
7239322
Rename app validation
brianegan Jul 9, 2025
b38a47c
Fix syntax
brianegan Jul 9, 2025
1c5d632
Deps directly from Flutter
brianegan Jul 9, 2025
8dd1343
Fix error
brianegan Jul 9, 2025
7dd89d9
Update workflows, run all tests
brianegan Jul 9, 2025
00bd849
Update README with github actions badge
brianegan Jul 9, 2025
155dbef
Remove old CI scripts
brianegan Jul 9, 2025
2fe778b
See if I can collect coverage from each step
brianegan Jul 9, 2025
c5d65fd
Fix artifact upload
brianegan Jul 9, 2025
28b67dd
Find the files!
brianegan Jul 9, 2025
e7e9d22
Upload coverage
brianegan Jul 9, 2025
1c9a926
One more time codecov, with love
brianegan Jul 9, 2025
527ceef
Try usin just codecov
brianegan Jul 9, 2025
55a5a79
Fix codecov only solution
brianegan Jul 9, 2025
fcd5d7f
Revert "Fix codecov only solution"
brianegan Jul 9, 2025
be3ffe4
Revert "Try usin just codecov"
brianegan Jul 9, 2025
c16847c
Add a signals app
brianegan Aug 17, 2025
51e8665
Add a signals app tests
brianegan Sep 3, 2025
24f4e81
update flutter versions
brianegan Sep 3, 2025
8885793
Update line counter with signals
brianegan Sep 3, 2025
73e7848
Mobx sample small style fix
brianegan Sep 3, 2025
e80955e
Add flutter upgrade script
brianegan Sep 3, 2025
4601192
Upgrade signals app flutter version
brianegan Sep 3, 2025
09634d4
Updated Change Notifier Provider Sample
brianegan Sep 3, 2025
60e90f9
Update titleLarge in all samples
brianegan Sep 3, 2025
a549ff4
Update line count
brianegan Sep 3, 2025
573a63a
Remove Firestore samples
brianegan Sep 3, 2025
caf8a6a
Upgrade simple_blocs to latest version
brianegan Sep 3, 2025
c0c47e5
Fix analysis error for mobx sample
brianegan Sep 3, 2025
b304221
Update gitignore to hide cursor MCP files
brianegan Sep 4, 2025
8a844b7
Update simple blocs example
brianegan Sep 4, 2025
7dd467c
Update scoped model
brianegan Sep 4, 2025
77f8ba6
remove states_rebuilder for now.
brianegan Sep 4, 2025
12e4f02
Fix scoped model analysis errors
brianegan Sep 4, 2025
a3b4e41
Update redux
brianegan Sep 4, 2025
93c4176
Update mvi_base
brianegan Sep 4, 2025
de9edc1
mvi app compelte
brianegan Sep 4, 2025
385b85d
Update CI
brianegan Sep 4, 2025
7b87f1d
Fix CI issues
brianegan Sep 4, 2025
7a24814
More CI fixes
brianegan Sep 4, 2025
4be72ef
Fix simple_blocs analysis issues
brianegan Sep 4, 2025
f853271
Fix change_notifier_provider test
brianegan Sep 4, 2025
8b45433
fix simple_blocs tests
brianegan Sep 4, 2025
8e4710e
Add test for simple_bloc_flutter
brianegan Sep 7, 2025
97d1114
Update bloc sample
brianegan Sep 7, 2025
bd7ab20
Final touches to bloc_flutter
brianegan Sep 7, 2025
2ad9dd9
Update freezed_provider_value_notifier
brianegan Sep 7, 2025
912b8f4
Add bloc and freezed value to CI
brianegan Sep 7, 2025
3b729b2
Update bloc_library sample
brianegan Sep 7, 2025
0b7abb4
Fix Analysis Errors
brianegan Sep 7, 2025
0ca62ee
Fix stats tests
brianegan Sep 7, 2025
f3a9137
Add dark theme to apps
brianegan Sep 7, 2025
cc1df66
Add latest jobs to combined coverage
brianegan Sep 7, 2025
5f083b7
Make it so that scoped model can run on web
brianegan Sep 7, 2025
86994e3
Build web app and deploy to netlify
brianegan Sep 7, 2025
97bcc03
Rename things a bit for clarity
brianegan Sep 7, 2025
a67dbe9
Update line count
brianegan Sep 7, 2025
eee294c
Update theme
brianegan Sep 7, 2025
6e8d5aa
Update images
brianegan Sep 7, 2025
ab2de5b
Update images and index.html
brianegan Sep 7, 2025
3248981
Updates to index.html
brianegan Sep 7, 2025
d494900
Run netlify deploys on main, not refresh
brianegan Sep 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
112 changes: 0 additions & 112 deletions .cirrus.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "3.35.2"
}
43 changes: 43 additions & 0 deletions .github/actions/dart_analysis_and_tests/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Validate"
description: "Runs lint, format, and test on an app"
inputs:
working-directory:
description: "Directory to run validation in"
required: true

runs:
using: "composite"
steps:
- name: Set up flutter
uses: kuhnroyal/flutter-fvm-config-action/setup@v3

- name: Get dependencies
shell: bash
run: dart pub get
working-directory: ${{ inputs.working-directory }}

- name: Check dart formatting
shell: bash
run: dart format -o none --set-exit-if-changed .
working-directory: ${{ inputs.working-directory }}

- name: Check dart analysis
shell: bash
run: dart analyze --fatal-infos --fatal-warnings .
working-directory: ${{ inputs.working-directory }}

- name: Run unit tests and prepare coverage
shell: bash
run: |
dart pub global activate coverage
dart run test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
# Extract directory name for artifact naming
echo "DIR_NAME=$(basename "${{ inputs.working-directory }}")" >> $GITHUB_ENV
working-directory: ${{ inputs.working-directory }}

- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-lcov-${{ env.DIR_NAME }}
path: ${{ inputs.working-directory }}/coverage/lcov.info
93 changes: 93 additions & 0 deletions .github/actions/flutter_analysis_test_build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: "Validate"
description: "Runs lint, format, and test on an app"
inputs:
working-directory:
description: "Directory to run validation in"
required: true
run-integration-tests:
description: "Run integration tests"
required: false
default: "true"
deploy-to-netlify:
description: "Deploy to Netlify"
required: true
default: "false"
netlify-auth-token:
description: "Netlify auth token"
required: true
netlify-site-id:
description: "Netlify site id"
required: true
runs:
using: "composite"
steps:
- name: Set up flutter
uses: kuhnroyal/flutter-fvm-config-action/setup@v3

- name: Get dependencies
shell: bash
run: flutter pub get
working-directory: ${{ inputs.working-directory }}

- name: Check dart formatting
shell: bash
run: dart format -o none --set-exit-if-changed .
working-directory: ${{ inputs.working-directory }}

- name: Check dart analysis
shell: bash
run: dart analyze --fatal-infos --fatal-warnings .
working-directory: ${{ inputs.working-directory }}

- name: Run unit tests and prepare coverage
shell: bash
if: '[ -d "${{ inputs.working-directory }}/test" ]'
run: |
flutter test --coverage
# Extract directory name for artifact naming
echo "DIR_NAME=$(basename "${{ inputs.working-directory }}")" >> $GITHUB_ENV
working-directory: ${{ inputs.working-directory }}

- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-lcov-${{ env.DIR_NAME }}
path: ${{ inputs.working-directory }}/coverage/lcov.info

- name: Run linux integration tests
if: ${{ inputs.run-integration-tests != 'false' }}
shell: bash
run: |
sudo apt-get update
sudo apt-get install \
clang \
cmake \
git \
ninja-build \
pkg-config \
libgtk-3-dev \
liblzma-dev \
libstdc++-12-dev \
libglu1-mesa \
xvfb
export DISPLAY=:99 # Set display for Xvfb
xvfb-run -a flutter test integration_test/app_test.dart -d linux
working-directory: ${{ inputs.working-directory }}

- name: Build web app
if: ${{ inputs.deploy-to-netlify != 'false' }}
shell: bash
run: |
flutter build web --wasm
working-directory: ${{ inputs.working-directory }}

- name: Deploy to Netlify
if: ${{ inputs.deploy-to-netlify != 'false' }}
uses: nwtgck/[email protected]
with:
publish-dir: ${{ inputs.working-directory }}/build/web
production-deploy: true
deploy-message: "Deploy from GitHub Actions"
env:
NETLIFY_AUTH_TOKEN: ${{ inputs.netlify-auth-token }}
NETLIFY_SITE_ID: ${{ inputs.netlify-site-id }}
Loading