add comparison to master branch

This commit is contained in:
Michael Duong 2023-09-10 17:40:15 +01:00
parent 653a72bed3
commit 3bba4c8f12

View file

@ -73,8 +73,10 @@ jobs:
run: |
cd modules/ml-pipeline/src/pipeline/src
echo "## Model metrics" > report.md
cat metrics/metrics.json >> report.md
cml comment create report.md
# Compare metrics to main
git fetch --depth=1 origin main:main
dvc metrics diff --show-md main >> report.md
# # echo "## Residuals plot from model" >> report.md
# # metrics_location=$(find . -maxdepth 10 -name "residuals.png")