diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..dcbf24a --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,22 @@ +name: Flutter Tests + +on: + push: + branches: + - main + pull_request: + +jobs: + unit_tests: + runs-on: ubuntu-latest + timeout-minutes: 10 + permissions: + contents: read + steps: + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + - uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e # v2.21.0 + with: + channel: stable + cache: true + - name: Run Flutter Unit Tests + run: flutter test