Updates Dart tests to use new notification API #425
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: Dart SDK Tests | |
on: | |
pull_request: | |
paths: | |
- examples/dart/** | |
defaults: | |
run: | |
working-directory: examples/dart # The working directory path | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Install dart | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: stable | |
- name: Install dependencies | |
run: dart pub get | |
- name: Install Realm into application | |
run: dart run realm_dart install | |
- name: Run Realm SDK tests | |
run: | | |
if ./scripts/test.sh --concurrency=1 2>&1 | grep "package:matcher" | |
then | |
exit 1 | |
fi | |