Skip to content

Merge pull request #1 from NERC-CEH/data #9

Merge pull request #1 from NERC-CEH/data

Merge pull request #1 from NERC-CEH/data #9

Workflow file for this run

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 dummy-evaluation.py
# Create CML report
cat metrics.txt >> report.md
echo '![](./metrics.png "Violin Plot of Metrics")' >> report.md
cml comment create report.md