We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71af3dd commit 72499a1Copy full SHA for 72499a1
ci_scripts/test.sh
@@ -3,6 +3,8 @@ set -e
3
# check status and branch before running the unit tests
4
before="`git status --porcelain -b`"
5
before="$before"
6
+# storing current working directory
7
+curr_dir=`pwd`
8
9
run_tests() {
10
# Get into a temp directory to run test from the installed scikit learn and
@@ -37,6 +39,8 @@ if [[ "$SKIP_TESTS" != "true" ]]; then
37
39
run_tests
38
40
fi
41
42
+# changing directory to stored working directory
43
+cd $curr_dir
44
# check status and branch after running the unit tests
45
# compares with $before to check for remaining files
46
after="`git status --porcelain -b`"
0 commit comments