You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPER.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Learn more by reading [How should I write my commits?](https://github.com/google
28
28
29
29
Notes:
30
30
31
-
* Tests use both IAM and built-in authentication.
31
+
* Tests use both IAM and built-in authentication.
32
32
* Learn how to set up a built-in databases user at [Cloud SQL built-in database authentication](https://cloud.google.com/sql/docs/postgres/built-in-authentication).
33
33
* Local tests will run against your `gcloud` credentials. Use `gcloud` to login with your personal account or a service account. This account will be used to run IAM tests. Learn how to set up access to the database at [Manage users with IAM database authentication](https://cloud.google.com/sql/docs/postgres/add-manage-iam-users). The "IAM_ACCOUNT" environment variable is also used to test authentication to override the local account. A personal account or a service account can be used for this test.
34
34
* You may need to grant access to the public schema for your new database user: `GRANT ALL ON SCHEMA public TO [email protected];`
@@ -42,11 +42,11 @@ These tests are registered as required tests in `.github/sync-repo-settings.yaml
42
42
43
43
#### Trigger Setup
44
44
45
-
Cloud Build triggers (for Python versions 3.8 to 3.11) were created with the following specs:
45
+
Cloud Build triggers (for Python versions 3.9 to 3.11) were created with the following specs:
46
46
47
47
```YAML
48
-
name: pg-integration-test-pr-py38
49
-
description: Run integration tests on PR for Python 3.8
48
+
name: pg-integration-test-pr-py39
49
+
description: Run integration tests on PR for Python 3.9
50
50
filename: integration.cloudbuild.yaml
51
51
github:
52
52
name: langchain-google-cloud-sql-pg-python
@@ -64,7 +64,7 @@ substitutions:
64
64
_DATABASE_ID: <ADD_VALUE>
65
65
_INSTANCE_ID: <ADD_VALUE>
66
66
_REGION: us-central1
67
-
_VERSION: "3.8"
67
+
_VERSION: "3.9"
68
68
```
69
69
70
70
Use `gcloud builds triggers import --source=trigger.yaml` to create triggers via the command line
@@ -89,7 +89,7 @@ To run Cloud Build tests on GitHub from external contributors, ie RenovateBot, c
89
89
#### Code Coverage
90
90
Please make sure your code is fully tested. The Cloud Build integration tests are run with the `pytest-cov` code coverage plugin. They fail forPRs with a code coverage less than the threshold specifiedin`.coveragerc`. If your file is inside the main module and should be ignored by code coverage check, add it to the `omit` section of `.coveragerc`.
91
91
92
-
Check forcode coverage reportin any Cloud Build integration test log.
92
+
Check forcode coverage reportin any Cloud Build integration test log.
0 commit comments