Skip to content

Commit

Permalink
Merge pull request #2 from johnpryan/actions
Browse files Browse the repository at this point in the history
Add testing workflow
  • Loading branch information
johnpryan authored May 24, 2022
2 parents f166fd8 + 9fcf2b6 commit 8a299ce
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Flutter CI
on: push
jobs:
test-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: flutter pub get
- run: flutter format --set-exit-if-changed .
- run: flutter analyze .
- run: flutter test
1 change: 0 additions & 1 deletion example/lib/cupertino.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ int _selectedIndex(BuildContext context) {
final route = RouteState.of(context)!;
final activeChild = route.activeChild;
if (activeChild != null) {
print('activeChild.path = ${activeChild.path}');
if (activeChild.path == 'home') return 0;
if (activeChild.path == 'chat') return 1;
if (activeChild.path == 'profile') return 2;
Expand Down
2 changes: 1 addition & 1 deletion example/lib/recursive_shell.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class _AppScaffoldState extends State<AppScaffold> {
return Scaffold(
body: SafeArea(
child: Scrollbar(
isAlwaysShown: true,
thumbVisibility: true,
controller: _scrollController,
child: LayoutBuilder(
builder: (context, viewportConstraints) {
Expand Down

0 comments on commit 8a299ce

Please sign in to comment.