fix: remove heading node validation (#803) #22
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: AppFlowyEditor test | |
on: | |
push: | |
branches: | |
- "main" | |
- "stable" | |
pull_request: | |
branches: | |
- "main" | |
- "stable" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
# 3 jobs are configured. | |
# The first one runs tests on desktop OSs. | |
# The second runs tests on iOS simulator. | |
# The third runs tests on Android emulator. | |
jobs: | |
desktop: | |
strategy: | |
matrix: | |
os: [macos-14, macos-13, macos-12, macos-11, ubuntu-22.04, ubuntu-20.04, windows-2022, windows-2019] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
flutter-version: "3.22.0" | |
cache: true | |
- name: Run tests | |
run: | | |
flutter --version | |
flutter pub get | |
flutter analyze . | |
dart format --set-exit-if-changed . | |
flutter test --coverage | |
- name: Upload coverage to Codecov | |
uses: Wandalen/[email protected] | |
with: | |
action: codecov/codecov-action@v3 | |
with: | | |
fail_ci_if_error: true | |
verbose: true | |
os: ${{ matrix.os }} | |
token: 398c9ded-28ad-4750-bfdb-e7f502539137 | |
attempt_limit: 10 | |
attempt_delay: 10000 |