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
1. Update the `Makefile` with your `staging` or`prod` API key. Ensure that docker has been installed on your system. Make sure the key is not from a free tier account.
70
+
1. Update the `Makefile` with your `local`, `staging`,`prod` API key. Ensure that docker has been installed on your system. Make sure the key is not from a free tier account.
71
71
2. To test on `staging`:
72
72
```
73
-
make test-staging
73
+
make test-staging PATH_TO_TEST=tests/integration/...etc LABELBOX_TEST_API_KEY=specify_here_or_export_me
74
74
```
75
75
76
76
3. To test on `prod`:
77
77
```
78
-
make test-prod
78
+
make test-prod PATH_TO_TEST=tests/integration/...etc LABELBOX_TEST_API_KEY=specify_here_or_export_me
79
79
```
80
80
81
81
4. If you make any changes and need to rebuild the image used for testing, force a rebuild with the `-B` flag
82
82
```
83
83
make -B {build|test-staging|test_prod}
84
84
```
85
+
86
+
Or you can just run everything in a single command:
87
+
```
88
+
docker build -t local/labelbox-python:test . && make test-staging PATH_TO_TEST= LABELBOX_TEST_API_KEY=
0 commit comments