Skip to content

feat: add quick run mode (#941) #1516

feat: add quick run mode (#941)

feat: add quick run mode (#941) #1516

Workflow file for this run

name: Unit tests
on:
push:
branches: [ master, submission-v* ]
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
flutter:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.19.6'
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Create ephemeral files
run: |
flutter config --no-analytics &&
dart pub global activate protoc_plugin ^21.1.2 &&
export PATH="$PATH:$HOME/.pub-cache/bin" &&
make flutter/prepare
- name: Run Flutter tests
run: make flutter/test/unit