Add methods and classes for Places (New) API in flutter_google_places_sdk_platform_interface
#84
Workflow file for this run
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: FlutterTests-PlatformInterface | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
paths: [ 'flutter_google_places_sdk_platform_interface/**' ] | |
pull_request: | |
branches: [master] | |
paths: [ 'flutter_google_places_sdk_platform_interface/**' ] | |
env: | |
flutter_version: "3.24.0" | |
java_version: "16.x" | |
dir: "flutter_google_places_sdk_platform_interface" | |
jobs: | |
setup_pi: | |
name: Run tests on [${{ matrix.os }}] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] #, windows-latest, macos-latest] | |
include: | |
- os: ubuntu-latest | |
flutter_path: /opt/hostedtoolcache/flutter | |
# - os: macos-latest | |
# flutter_path: /Users/runner/hostedtoolcache/flutter | |
# - os: windows-latest | |
# flutter_path: C:\hostedtoolcache\flutter | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Cache Flutter dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ${{ matrix.flutter_path }} | |
key: ${{ runner.os }}-flutter-${{ env.flutter_version }} | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ env.java_version }} | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: ${{ env.flutter_version }} | |
- name: Flutter version | |
run: flutter --version | |
- name: Install dependencies | |
run: flutter pub get | |
working-directory: ${{ env.dir }} | |
- name: Build Runner | |
run: flutter pub run build_runner build | |
working-directory: ${{ env.dir }} | |
- name: Flutter Analyze | |
run: flutter analyze | |
working-directory: ${{ env.dir }} | |
- name: Test | |
run: flutter test | |
working-directory: ${{ env.dir }} | |