Skip to content

Commit ab451b6

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

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/dart.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,23 @@ 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+
- working-directory: bin/objectbox_model_generator
13+
- name: Install dependencies
14+
run: pub get
15+
- name: Run tests
16+
run: pub run test
717

18+
lib:
19+
needs: generator
820
runs-on: ubuntu-latest
9-
1021
container:
1122
image: google/dart:latest
12-
1323
steps:
1424
- uses: actions/checkout@v1
1525
- name: Install ObjectBox C-API

0 commit comments

Comments
 (0)