We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40410d commit 1b679fdCopy full SHA for 1b679fd
.github/workflows/model-training.yml
@@ -0,0 +1,20 @@
1
+name: model-training
2
+on: [push]
3
+jobs:
4
+ train-model:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - name: Checkout Repository
8
+ uses: actions/checkout@v3
9
+ - name: Setup Python und install requirements
10
+ uses: actions/setup-python@v4
11
+ with:
12
+ python-version: "3.8"
13
+ - run: pip install -r requirements.txt
14
+ - name: Train model
15
+ run: python src/train.py
16
+ - name: Upload trained model
17
+ uses: actions/upload-artifact@v3
18
19
+ name: regressor_mpg.pickle
20
+ path: data/models/regressor_mpg.pickle
0 commit comments