From 5bfa68469d777507b0e164834d0a18cf1eebc6ec Mon Sep 17 00:00:00 2001 From: HITESHRAO2004 <94069737+HITESHRAO2004@users.noreply.github.com> Date: Sun, 7 Jan 2024 11:26:28 +0530 Subject: [PATCH] Create cml.yaml --- .github/workflows/cml.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/cml.yaml diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml new file mode 100644 index 0000000..c79ffec --- /dev/null +++ b/.github/workflows/cml.yaml @@ -0,0 +1,14 @@ +name: CML +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