-
Notifications
You must be signed in to change notification settings - Fork 5
59 lines (47 loc) · 1.4 KB
/
unit_tests.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Unit Tests
on:
push:
branches:
- main
pull_request:
jobs:
core_test:
runs-on: ubuntu-latest
container:
image: dart:3.0.0
steps:
- uses: actions/checkout@v1
- name: Install dependencies sidekick_core
run: cd sidekick_core && dart pub get --no-precompile
- name: Run tests sidekick_core
run: cd sidekick_core && dart test
vault_test:
runs-on: ubuntu-latest
container:
image: dart:3.0.0
steps:
- uses: actions/checkout@v1
- name: Install dependencies sidekick_vault
run: cd sidekick_vault && dart pub get --no-precompile
- name: Install gpg
run: apt-get update && apt-get install -y gpg
- name: Run tests sidekick_vault
run: cd sidekick_vault && dart test
plugin_installer:
runs-on: ubuntu-latest
container:
image: dart:3.0.0
steps:
- uses: actions/checkout@v1
- name: Install dependencies sidekick_plugin_installer
run: cd sidekick_plugin_installer && dart pub get --no-precompile
- name: Run tests sidekick_plugin_installer
run: cd sidekick_plugin_installer && dart test
sk_sidekick:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies sk_sidekick
run: ./sk
- name: Run tests sk_sidekick
run: cd sk_sidekick && ./build/cache/dart-sdk/bin/dart test