Skip to content

Commit e7834ac

Browse files
committed
clean up github actions
1 parent 9c90cd1 commit e7834ac

File tree

4 files changed

+27
-76
lines changed

4 files changed

+27
-76
lines changed

.github/workflows/build_and_deploy_api.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy API to GKE
1+
name: Build & Deploy Model API to GKE
22

33
on:
44
push:
@@ -13,7 +13,31 @@ env:
1313
IMAGE_TAG: latest
1414

1515
jobs:
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

.github/workflows/build_and_push_api.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/train_model.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Train Model CI
1+
name: Train Model
22

33
on:
44
push:

0 commit comments

Comments
 (0)