Skip to content

Field tests

Field tests #36

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Analyze project
# Controls when the workflow will run
on:
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Flutter SDK
uses: flutter-actions/setup-flutter@v2
# - uses: subosito/flutter-action@v2
with:
channel: 'stable'
version: 3.13.9
# - run: |
# sudo apt-get update -y
# sudo apt-get install -y ninja-build libgtk-3-dev
- name: Clearing project
run: flutter clean
- name: Install dependencies
run: flutter pub upgrade
- name: Analyze project
run: flutter analyze
# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: flutter test
# - name: Configure linux desctop
# run: flutter config --enable-linux-desktop
# - name: Build linux
# run: flutter build linux