Skip to content

Commit c46a64a

Browse files
committed
execute generator tests in CI
1 parent 7f14318 commit c46a64a

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/dart.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,24 @@ name: Dart CI
33
on: [push, pull_request]
44

55
jobs:
6-
build:
6+
generator:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: google/dart:latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Change dir to the generator binary
13+
run: cd bin/objectbox_model_generator
14+
- name: Install dependencies
15+
run: pub get
16+
- name: Run tests
17+
run: pub run test
718

19+
lib:
20+
needs: generator
821
runs-on: ubuntu-latest
9-
1022
container:
1123
image: google/dart:latest
12-
1324
steps:
1425
- uses: actions/checkout@v1
1526
- name: Install ObjectBox C-API

0 commit comments

Comments
 (0)