Skip to content

Commit f8b0b01

Browse files
committed
Update github actions
Add datastore emulator into github action pipeline.
1 parent 7e20834 commit f8b0b01

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/python-self-hosted.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,23 @@ jobs:
1919
uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.13'
22+
23+
- name: 'Set up Cloud SDK'
24+
uses: 'google-github-actions/setup-gcloud@v2'
25+
with:
26+
version: '>= 530.0.0'
27+
28+
- name: 'Use gcloud CLI'
29+
run: 'gcloud info'
2230

2331
- name: Install dependencies
2432
run: |
2533
python -m pip install --upgrade pip
26-
pip install -r requirements.txt
34+
if [ -f requirements.txt ]; then
35+
pip install -r requirements.txt
36+
else
37+
echo "No requirements.txt found"
38+
fi
2739
2840
- name: Run tests
2941
run: |

0 commit comments

Comments
 (0)