File tree Expand file tree Collapse file tree 4 files changed +27
-76
lines changed
Expand file tree Collapse file tree 4 files changed +27
-76
lines changed Original file line number Diff line number Diff line change 1- name : Deploy API to GKE
1+ name : Build & Deploy Model API to GKE
22
33on :
44 push :
1313 IMAGE_TAG : latest
1414
1515jobs :
16- deploy :
16+
17+ test :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v3
21+
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v1
24+
25+ - name : Set up Python
26+ run : uv python install 3.11
27+
28+ - name : Install the dependencies
29+ run : |
30+ uv sync --all-extras
31+
32+ - name : Run pre-commit checks
33+ run : |
34+ uv run pre-commit run --all-files
35+
36+ - name : Run pytest
37+ run : |
38+ uv run pytest
39+
40+ build_and_deploy :
1741 runs-on : ubuntu-latest
1842 steps :
1943
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Train Model CI
1+ name : Train Model
22
33on :
44 push :
You can’t perform that action at this time.
0 commit comments