diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f72b9453..6eb0f17c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,13 +1,26 @@ -name: Tests +name: Flutter Test on: pull_request: - branches: - - master + branches: [master] + + workflow_dispatch: + jobs: - tests: + build: runs-on: ubuntu-latest + steps: - - name: Install Flutter Dependencies + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: '11' + - uses: subosito/flutter-action@v2.18.0 + with: + channel: stable # or: beta, master (or main) + + - name: Get all Flutter Packages run: flutter pub get - - name: Run Flutter Tests + + - name: Run Flutter Test run: flutter test