Skip to content

Commit

Permalink
👷 Run flutter tests on dev branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralu committed Jun 4, 2024
1 parent 661a95f commit 0f7789f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/flutter-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Flutter Test

on:
push:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: '3.19.3'

- name: Install dependencies
run: flutter pub get

- name: Run tests
run: flutter test
1 change: 1 addition & 0 deletions test/command_dispatcher_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ void main() {
test(
'Should run commands sequentially and return Handler result',
() async {
expect(false, true);
final dispatcher = CommandDispatcher()
..addHandler(
CommandHandler(
Expand Down

0 comments on commit 0f7789f

Please sign in to comment.