Skip to content

Commit 596d1e1

Browse files
committed
Fix GitHub Actions workflow and CI dependencies
1 parent 58a7d82 commit 596d1e1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/docker.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,18 @@ jobs:
5050
- name: Check out repository
5151
uses: actions/checkout@v4
5252

53-
- name: Train model artifact
53+
- name: Set up Python
54+
uses: actions/setup-python@v5
55+
with:
56+
python-version: "3.11"
57+
58+
- name: Install dependencies for model build
5459
run: |
5560
python -m pip install --upgrade pip
5661
pip install -r requirements.txt
57-
python model/train.py
62+
63+
- name: Train model artifact
64+
run: python model/train.py
5865

5966
- name: Log in to GHCR
6067
uses: docker/login-action@v3

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ joblib==1.5.2
77
numpy==2.3.3
88
prometheus-fastapi-instrumentator==7.1.0
99
python-json-logger==3.3.0
10-
locust
10+
locust
11+
httpx==0.28.1

0 commit comments

Comments
 (0)