Skip to content

Update demo with new flutter vp v1.1 #29

Update demo with new flutter vp v1.1

Update demo with new flutter vp v1.1 #29

Workflow file for this run

name: Flutter
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'demo/flutter/pubspec.yaml'
- '.github/workflows/flutter.yml'
- 'resources/audio_samples/'
- 'resources/.test/'
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/flutter/pubspec.yaml'
- '.github/workflows/flutter.yml'
- 'resources/audio_samples/'
- 'resources/.test/'
defaults:
run:
working-directory: demo/flutter
jobs:
test-android:
name: Test Android
runs-on: pv-android
steps:
- uses: actions/checkout@v3
- name: Copy test_resources
run: ./copy_test_resources.sh
- name: Inject AppID
run: sed -i 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'
integration_test/app_test.dart
- name: Install dependencies
run: flutter pub get
- name: Run integration tests
run: flutter test integration_test
test-ios:
name: Test iOS
runs-on: pv-ios
steps:
- uses: actions/checkout@v3
- name: Copy test_resources
run: ./copy_test_resources.sh
- name: Inject AppID
run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'
integration_test/app_test.dart
- name: Install dependencies
run: flutter pub get
- name: Run integration tests
run: flutter test integration_test