File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2121 - uses : actions/checkout@v3
2222 - name : Install ObjectBox C-API
2323 run : ./install.sh
24- - name : Test
24+ - name : Integration test
2525 run : ./generator/test.sh
2626
2727 # make sure the init script doesn't stop working - it's not something we usually run during normal development
@@ -54,10 +54,15 @@ jobs:
5454 with :
5555 sdk : ${{ matrix.sdk }}
5656 - uses : actions/checkout@v3
57+ - name : Generator Test
58+ working-directory : generator
59+ run : |
60+ ../tool/pub.sh get
61+ ../tool/pub.sh run test
5762 - name : Install ObjectBox C-API
5863 working-directory : objectbox
5964 run : ../install.sh
60- - name : Test
65+ - name : Library Test
6166 working-directory : objectbox
6267 run : |
6368 ../tool/pub.sh get
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ analyze:
3535 - cd ..
3636 - dart format --set-exit-if-changed --fix .
3737
38- # Runs generator integration tests, e.g. ensures generator works as expected.
38+ # Runs generator unit and integration tests, e.g. ensures generator works as expected.
3939test-generator:linux:x64 :
4040 extends : .cache
4141 stage : test
@@ -44,6 +44,9 @@ test-generator:linux:x64:
4444 script :
4545 - ./install.sh
4646 - ./generator/test.sh
47+ - cd generator
48+ - dart pub get
49+ - dart test
4750
4851.test :
4952 extends : .cache
You can’t perform that action at this time.
0 commit comments