Skip to content

rc/1.2.0

rc/1.2.0 #38

Workflow file for this run

name: Test
on:
pull_request:
types:
- opened
- synchronize
branches:
- 'master'
- 'dev'
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install sqlite3
run: sudo apt-get install -y sqlite3 libsqlite3-dev
- uses: actions/checkout@v4
- name: Create files from secrets
env:
DOWNLOAD_OPTIONS: ${{ secrets.DOWNLOAD_OPTIONS }}
FIREBASE_OPTIONS: ${{ secrets.FIREBASE_OPTIONS }}
run: |
echo "$DOWNLOAD_OPTIONS" > ./lib/utils/download_options.dart
echo "$FIREBASE_OPTIONS" > ./lib/firebase_options.dart
- name: Flutter set up
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- run: flutter --version
- name: Flutter get packages
run: flutter pub get
- name: Flutter code generation
run: dart run build_runner build --delete-conflicting-outputs
- name: Flutter test
run: flutter test -j 1