Skip to content

👷 Add runnable workflow #3

👷 Add runnable workflow

👷 Add runnable workflow #3

Workflow file for this run

name: Runnable (stable)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example && flutter test -d linux integration_test/simple_test.dart
if: runner.os == 'Linux'
- run: cd example && flutter test -d macos integration_test/simple_test.dart
if: runner.os == 'macOS'
- run: cd example && flutter test -d windows integration_test/simple_test.dart
if: runner.os == 'Windows'
- run: dart pub publish --dry-run
if: github.repository == 'AstroxNetwork/ord_dart'