File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212 runs-on : ubuntu-latest
13+
14+ env :
15+ DATASTORE_EMULATOR_HOST : " localhost:8081"
1316
1417 steps :
1518 - name : Checkout code
@@ -19,13 +22,25 @@ jobs:
1922 uses : actions/setup-python@v5
2023 with :
2124 python-version : ' 3.13'
22-
25+
26+ - name : Set up Java (required for Datastore emulator)
27+ uses : actions/setup-java@v4
28+ with :
29+ distribution : ' temurin'
30+ java-version : ' 21'
31+
2332 - name : ' Set up Cloud SDK'
2433 uses : ' google-github-actions/setup-gcloud@v2'
2534 with :
26- install_components : ' cloud-datastore-emulator'
35+ install_components : ' beta,cloud-datastore-emulator'
36+
37+ - name : ' Verify gcloud setup'
38+ run : |
39+ gcloud --version
40+ which gcloud
41+ gcloud components list --filter="id:cloud-datastore-emulator" --format="table(id,state.name)"
2742
28- - name : ' Use gcloud CLI '
43+ - name : ' Configure gcloud project '
2944 run : ' gcloud config set project python-datastore-sqlalchemy'
3045
3146 - name : Install dependencies
You can’t perform that action at this time.
0 commit comments