add comparison to master branch

This commit is contained in:
Michael Duong 2023-09-10 17:43:16 +01:00
parent 3bba4c8f12
commit ef3ca95f50

View file

@ -74,9 +74,9 @@ jobs:
cd modules/ml-pipeline/src/pipeline/src
echo "## Model metrics" > report.md
# Compare metrics to main
git fetch --depth=1 origin main:main
dvc metrics diff --show-md main >> report.md
# Compare metrics to master
git fetch --depth=1 origin master:maste
dvc metrics diff --show-md master >> report.md
# # echo "## Residuals plot from model" >> report.md
# # metrics_location=$(find . -maxdepth 10 -name "residuals.png")