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: mkdocs/docs/contributing.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,13 +159,22 @@ To rebuild the containers from scratch.
159
159
160
160
PyIceberg supports the ability to run our catalog tests against an arbitrary REST Catalog.
161
161
162
-
To do so, run the catalog integration tests with the `PYICEBERG_REST_CATALOG_PROPERTIES` environment variable.
162
+
You can set the test catalog in the ~/.pyiceberg.yaml file:
163
163
164
-
```sh
165
-
PYICEBERG_REST_CATALOG_PROPERTIES='{"uri": "http://localhost:8181"}' poetry run pytest tests/integration/
164
+
```yaml
165
+
catalog:
166
+
test_catalog:
167
+
uri: http://rest-catalog/ws/
168
+
credential: t-1234:secret
166
169
```
167
170
168
-
`PYICEBERG_REST_CATALOG_PROPERTIES` should be a JSON-encoded string that contains any [catalog properties](https://py.iceberg.apache.org/configuration/#rest-catalog) necessary to interact with your REST Catalog implementation.
171
+
You can additionally set the properties using environment variables
0 commit comments