-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (32 loc) · 847 Bytes
/
dart.yml
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
37
38
39
40
name: Runtime Test
on:
push:
branches:
- main
- "**"
jobs:
build:
runs-on: ubuntu-latest
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Cache Dart dependencies
uses: actions/cache@v3
with:
path: ~/.pub-cache
key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-dart-
- name: Install dependencies
run: dart pub get
working-directory: ./cli
- name: Run Runtime tests
run: dart run test
working-directory: ./cli