Skip to content

fix: Add fixed node version #6

fix: Add fixed node version

fix: Add fixed node version #6

Workflow file for this run

name: model-training
on: [push]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- uses: iterative/setup-cml@v1
- name: Train model
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install -r requirements.txt
python get_data.py
python train.py
cat metrics.txt >> report.md
echo '![](./confusion_matrix.png "Confusion Matrix")' >> report.md
cml comment create report.md