Skip to content

Merge pull request #61 from Flagsmith/fix/base-url #14

Merge pull request #61 from Flagsmith/fix/base-url

Merge pull request #61 from Flagsmith/fix/base-url #14

Workflow file for this run

name: Analyze and Test
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
analyze:
runs-on: ubuntu-latest
name: Dart Analyze
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.x'
channel: 'stable'
- run: flutter pub get
- run: flutter analyze
tests:
runs-on: ubuntu-latest
name: Flutter Test
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.x'
channel: 'stable'
- run: flutter pub get
- run: flutter pub test
# TODO https://github.com/Flagsmith/flagsmith-flutter-client/issues/57
publishing:
runs-on: ubuntu-latest
name: Dart Publish Package Test
needs: tests
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.x'
channel: 'stable'
- run: flutter pub publish --dry-run