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
To get setup for development, see [this video if you prefer VS Code](https://youtu.be/zddl3n1DCFM), or [this older video if you prefer PyCharm](https://youtu.be/QniQi-Hoo9A), and the instructions below.
## 7. Google Cloud authentication (for legacy tests)
49
+
50
+
To run legacy tests which read data from GCS, you'll need to [request access to MalariaGEN data on GCS](https://malariagen.github.io/vector-data/vobs/vobs-data-access.html).
51
+
52
+
Once access has been granted, [install the Google Cloud CLI](https://cloud.google.com/sdk/docs/install):
## 6. Google Cloud authentication (for legacy tests)
51
+
52
+
To run legacy tests which read data from GCS, you'll need to [request access to MalariaGEN data on GCS](https://malariagen.github.io/vector-data/vobs/vobs-data-access.html).
53
+
54
+
Once access has been granted, install the Google Cloud CLI:
55
+
```bash
56
+
brew install google-cloud-sdk
57
+
```
58
+
59
+
Then authenticate:
60
+
```bash
61
+
gcloud auth application-default login
62
+
```
63
+
64
+
This opens a browser — log in with any Google account.
65
+
66
+
Once authenticated, run legacy tests:
67
+
```bash
68
+
pytest --ignore=tests/anoph -v tests
69
+
```
70
+
71
+
Tests will run slowly the first time, as data will be read from GCS and cached locally in the `gcs_cache` folder.
72
+
73
+
## 7. VS Code terminal integration
74
+
75
+
To use the `code` command from the terminal:
76
+
77
+
Open VS Code → `Cmd + Shift + P` → type `Shell Command: Install 'code' command in PATH` → press Enter.
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,11 @@ for release notes.
44
44
45
45
## Developer setup
46
46
47
-
To get setup for development, see [this video if you prefer VS Code](https://youtu.be/zddl3n1DCFM), or [this older video if you prefer PyCharm](https://youtu.be/QniQi-Hoo9A), and the instructions below.
47
+
To get setup for development, see [this video if you prefer VS Code](https://youtu.be/zddl3n1DCFM), or [this older video if you prefer PyCharm](https://youtu.be/QniQi-Hoo9A).
48
48
49
+
For detailed setup instructions, see:
50
+
-[Linux setup guide](LINUX_SETUP.md)
51
+
-[macOS setup guide](MACOS_SETUP.md)
49
52
Detailed instructions can be found in the [Contributors guide](https://github.com/malariagen/malariagen-data-python/blob/master/CONTRIBUTING.md).
0 commit comments