You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@echo "[SUCCESS] Archiving plugin to dist/ folder: Done!"
22
20
23
-
.ONESHELL:
24
21
unit-tests:
25
-
@set -e
26
22
@echo "Running unit tests..."
27
-
@PYTHON_VERSION=`python3 -V 2>&1| sed 's/[^0-9]*//g'| cut -c 1,2`
28
-
@PYTHON_VERSION_IS_CORRECT=`cat code-env/python/desc.json | python3 -c "import sys, json; print(str($$PYTHON_VERSION) in [x[-2:] for x in json.load(sys.stdin)['acceptedPythonInterpreters']]);"`
29
-
@if [ $$PYTHON_VERSION_IS_CORRECT =="False" ];thenecho"Python version $$PYTHON_VERSION is not in acceptedPythonInterpreters";exit 1;elseecho"Python version $$PYTHON_VERSION is in acceptedPythonInterpreters";fi
PYTHON_VERSION=`python3 -V 2>&1| sed 's/[^0-9]*//g'| cut -c 1,2`;\
25
+
PYTHON_VERSION_IS_CORRECT=`cat code-env/python/desc.json | python3 -c "import sys, json; print(str($$PYTHON_VERSION) in [x[-2:] for x in json.load(sys.stdin)['acceptedPythonInterpreters']]);"`;\
26
+
if [ $$PYTHON_VERSION_IS_CORRECT =="False" ];thenecho"Python version $$PYTHON_VERSION is not in acceptedPythonInterpreters";exit 1;elseecho"Python version $$PYTHON_VERSION is in acceptedPythonInterpreters";fi;\
0 commit comments