Added ORM postgresql action

This commit is contained in:
thomashii 2022-01-08 14:59:52 +08:00
parent 44fc43a9e2
commit 339fc08e15
3 changed files with 22 additions and 6 deletions

View file

@ -101,3 +101,18 @@ jobs:
working-directory: packages/orm/angel_orm_test working-directory: packages/orm/angel_orm_test
run: dart analyze . run: dart analyze .
# Angel3 ORM PostgreSQL
- id: angel3_orm_postgres_upgrade
name: angel3_orm_postgres; Upgrade depedencies
working-directory: packages/orm/angel_orm_postgres
run: dart pub upgrade
- name: angel3_orm_postgres; Verify formatting
working-directory: packages/orm/angel_orm_postgres
run: dart format --output=none --set-exit-if-changed .
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: angel3_orm_postgres; Analyze source code
working-directory: packages/orm/angel_orm_postgres
run: dart analyze .

View file

@ -16,8 +16,8 @@ dev_dependencies:
angel3_orm_test: ^3.0.0 angel3_orm_test: ^3.0.0
test: ^1.17.5 test: ^1.17.5
lints: ^1.0.0 lints: ^1.0.0
#dependency_overrides: dependency_overrides:
# angel3_orm_test: angel3_orm_test:
# path: ../angel_orm_test path: ../angel_orm_test
# angel3_orm: angel3_orm:
# path: ../angel_orm path: ../angel_orm

View file

@ -31,6 +31,7 @@ void main() {
() => () =>
manyToManyTests(pg(['user', 'role', 'user_role']), close: closePg)); manyToManyTests(pg(['user', 'role', 'user_role']), close: closePg));
group('standalone', () => standaloneTests(pg(['car']), close: closePg)); group('standalone', () => standaloneTests(pg(['car']), close: closePg));
group('join', () => joinTests(pg(['person', 'person_order']), close: closePg)); group('join',
() => joinTests(pg(['person', 'person_order']), close: closePg));
}); });
} }