diff --git a/.github/workflows/flutter_test.yml b/.github/workflows/flutter_test.yml new file mode 100644 index 00000000..ddc78799 --- /dev/null +++ b/.github/workflows/flutter_test.yml @@ -0,0 +1,24 @@ +name: Flutter Test + +on: + pull_request: + # Run on pull requests targeting the default branch + branches: + - master + push: + # Run on push events to non-default branches + branches-ignore: + - master +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: stable + - name: Get Dependencies + run: flutter pub get + - name: Run Tests + run: flutter test