Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Claude committed Feb 20, 2018
1 parent 0cef73b commit aac35e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ echo "Build the project for distribution..."
#./tests/test.sh
echo "[ok] Done"

git push
git push --tags

# Push on Docker Hub
# WARNING: Requires captain 1.1.0 to push user tags
BUILD_DATE=$(date -Iseconds) \
Expand All @@ -106,6 +103,9 @@ BUILD_DATE=$(date -Iseconds) \
WORKSPACE=$WORKSPACE \
$CAPTAIN push target_image --branch-tags=false --commit-tags=false --tag $updated_version

git push
git push --tags

# Notify on slack
sed "s/USER/${USER^}/" $WORKSPACE/slack.json > $WORKSPACE/.slack.json
sed -i.bak "s/VERSION/$updated_version/" $WORKSPACE/.slack.json
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ algorithms {
supportsNullValues = true
}
statisticsSummary {
dockerImage = "hbpmip/python-summary-statistics:0.1.1"
dockerImage = "hbpmip/python-summary-statistics:0.1.2"
predictive = false
supportsNullValues = true
}
Expand Down
8 changes: 4 additions & 4 deletions tests/woken-test/src/test/resources/knn_experiment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@
"MSE": 251.68214549498433,
"R-squared": -1.533712874110555,
"RMSE": 15.864493231584309,
"type": "RegressionScores"
"type": "RegressionScore"
},
"folds": {
"0": {
Expand All @@ -1233,18 +1233,18 @@
"MSE": 215.32844299914836,
"R-squared": -17.553948664331887,
"RMSE": 14.67407383786617,
"type": "RegressionScores"
"type": "RegressionScore"
},
"1": {
"Explained variance": 190.04155142598864,
"MAE": 13.882744925098137,
"MSE": 288.0358479908204,
"R-squared": -2.1000064686272637,
"RMSE": 16.971618897171254,
"type": "RegressionScores"
"type": "RegressionScore"
}
},
"type": "KFoldCrossValidation"
"type": "KFoldCrossValidationScore"
}
}
]
Expand Down

0 comments on commit aac35e8

Please sign in to comment.