Skip to content

Attempt to fix token issue. #3

Attempt to fix token issue.

Attempt to fix token issue. #3

Workflow file for this run

name: CML
on: [push]
jobs:
train-and-report:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v1
- uses: actions/checkout@v3
- name: Train model
run: |
# Your ML workflow goes here
pip install -r requirements.txt
python train.py
- name: Create CML report
env:
REPO_TOKEN: ${{ secrets.TOKEN }}
run: |
# Post CML report as a comment in GitHub
cat metrics.txt >> report.md
echo '![](./plot.png "Confusion Matrix")' >> report.md
cml comment create report.md