Skip to content

Commit

Permalink
Create cml.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dkm1902 authored Dec 29, 2023
1 parent 6e0ee0a commit 4798e9e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: wine-quality
on: [push]
jobs:
run:
runs-on: ubuntu-latest
# optionally use a convenient Ubuntu LTS + DVC + CML image
# container: ghcr.io/iterative/cml:0-dvc2-base1
steps:
- uses: actions/checkout@v3
# may need to setup NodeJS & Python3 on e.g. self-hosted
# - uses: actions/setup-node@v3
# with:
# node-version: '16'
# - uses: actions/setup-python@v4
# with:
# python-version: '3.x'
- uses: iterative/setup-cml@v1
- name: Train model
run: |
# Your ML workflow goes here
pip install -r requirements.txt
python train.py
echo "MODEL METRICS"
cat metrics.txt

0 comments on commit 4798e9e

Please sign in to comment.