Skip to content

Set up test action

Set up test action #1

Workflow file for this run

name: Run tests
on:
push:
pull_request:
types: [opened, synchronize, reopened]
branches: [dev, main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
# flutter-version: "3.0.0"
channel: stable
- name: Get dependencies
run: flutter pub get
- name: Run tests
run: flutter test
- name: Dry pubilsh
run: dart pub publish --dry-run