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 b9a5519 commit 3fe2728Copy full SHA for 3fe2728
scripts/test.sh
@@ -3,7 +3,10 @@
3
# Run this script test.sh from project root directory containing setup.py
4
pr_branch=$1
5
if ["${pr_branch}" == "false"]:
6
+then
7
exit 0
8
+fi
9
+
10
pip3 install .
11
git checkout ${pr_branch}
12
pr_version=$(python3 -c "import mplfinance; print(mplfinance.__version__)")
@@ -13,6 +16,7 @@ echo "PR: ${pr_version}; Incumbent: ${in_version}"
13
16
result=$(python3 -m mplfinance.check_version --pr ${pr_version} --in ${in_version})
14
17
tox
15
18
if ["${result}" != "VersionCheck:pr>master"]
19
20
# version in PR doesn't pass the test
21
echo "${result}"
22
exit 1
0 commit comments