forked from mongodb/docs-realm
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (27 loc) · 684 Bytes
/
dart.yml
File metadata and controls
36 lines (27 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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/setup-dart@v1.3
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 "Some tests failed."
then
exit 1
fi