feat: show run mode in the UI #1522
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |