Skip to content

Commit

Permalink
Create cml.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-N-D authored Dec 26, 2023
1 parent 6e0ee0a commit ebe0835
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: model-wine-quality
on: [push]
jobs:
train-and-report:
runs-on: ubuntu-latest
container: docker://ghcr.io/iterative/cml:0-dvc2-base1
steps:
- uses: actions/checkout@v3
- name: Train model
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install -r requirements.txt
python train.py # generate plot.png
echo "MODEL METRICS"
cat metrics.txt

0 comments on commit ebe0835

Please sign in to comment.