Skip to content

Commit 17d8680

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

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,21 @@ 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+
26+
- name: 'Use gcloud CLI'
27+
run: 'gcloud info'
2228

2329
- name: Install dependencies
2430
run: |
2531
python -m pip install --upgrade pip
26-
pip install -r requirements.txt
32+
if [ -f requirements.txt ]; then
33+
pip install -r requirements.txt
34+
else
35+
echo "No requirements.txt found"
36+
fi
2737
2838
- name: Run tests
2939
run: |

0 commit comments

Comments
 (0)