diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c73e6cf..5fd890cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -150,6 +150,7 @@ jobs: name: "Integration tests" needs: [setup] runs-on: ubuntu-latest + timeout-minutes: 10 services: postgres: image: postgres diff --git a/examples/modular/bin/example.dart b/examples/modular/bin/example.dart index f624d9c2..fae892ed 100644 --- a/examples/modular/bin/example.dart +++ b/examples/modular/bin/example.dart @@ -9,4 +9,5 @@ void main() async { await database.myAccessor .addUser(user: UsersCompanion.insert(name: 'first_user')); + await database.close(); }