Skip to content

Commit 0ae4a57

Browse files
committed
Simplify workflow
1 parent 9a5d615 commit 0ae4a57

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test-Workflow
1+
name: CI-Train-Model
22

33
on:
44
push:
@@ -7,12 +7,30 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
test:
10+
train:
1111
runs-on: ubuntu-latest
1212

1313
steps:
1414
- name: Checkout repo
1515
uses: actions/checkout@v4
1616

17-
- name: Say hello
18-
run: echo "Hello from GitHub Actions"
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.10"
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements.txt
26+
27+
- name: List files (debug)
28+
run: |
29+
echo "Current dir:"
30+
pwd
31+
echo "List:"
32+
ls -R
33+
34+
- name: Run training script
35+
run: |
36+
python -m src.modelling

0 commit comments

Comments
 (0)