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
This method shards tests over multiple builds, and over available cores.
69
+
70
+
##### Environment variables
71
+
To run the tests locally, you'll need the following environment variables.
72
+
73
+
Variable|Description|Comment
74
+
---|---|---
75
+
`GOOGLE_APPLICATION_CREDENTIALS`|The Google Application Credentials file|For example `GOOGLE_APPLICATION_CREDENTIALS=~/Downloads/creds.json`
76
+
`PROJECT_ID`|The project id of the Google Application credentials being used|For example `PROJECT_ID=appdev-soda-spanner-staging`
77
+
`DJANGO_WORKER_COUNT`|The number of parallel jobs to split the tests amongst|To get all the tests run by one process, use a cout of 1, so `DJANGO_WORKER_COUNT=1`
78
+
`DJANGO_WORKER_INDEX`|The zero based index of the parallel job number, to run tests, it is correlated with `DJANGO_WORKER_COUNT` and an offset to figure out which tests to run with this job|
79
+
`django_test_apps.txt`|The listing of Django apps to run|Set the apps you'd like to be run in parallel
This method shards tests over multiple builds, and over available cores.
120
-
121
-
#### Environment variables
122
-
To run the tests locally, you'll need the following environment variables.
123
-
124
-
Variable|Description|Comment
125
-
---|---|---
126
-
`GOOGLE_APPLICATION_CREDENTIALS`|The Google Application Credentials file|For example `GOOGLE_APPLICATION_CREDENTIALS=~/Downloads/creds.json`
127
-
`PROJECT_ID`|The project id of the Google Application credentials being used|For example `PROJECT_ID=appdev-soda-spanner-staging`
128
-
`DJANGO_WORKER_COUNT`|The number of parallel jobs to split the tests amongst|To get all the tests run by one process, use a cout of 1, so `DJANGO_WORKER_COUNT=1`
129
-
`DJANGO_WORKER_INDEX`|The zero based index of the parallel job number, to run tests, it is correlated with `DJANGO_WORKER_COUNT` and an offset to figure out which tests to run with this job|
130
-
`django_test_apps.txt`|The listing of Django apps to run|Set the apps you'd like to be run in parallel
0 commit comments