From a0d4190127e37221efb0033196d1ba0e9900aff4 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Thu, 27 Jan 2022 09:16:08 -0800 Subject: [PATCH] adds tests to linux arm64 so that everything breaks now --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33a3530..d378070 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -169,6 +169,18 @@ jobs: mkdir ${BUILD_FILE_NAME}; pyenv global 3.7.5; pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec; + - run: + name: Test executable binaries + command: | + export PYTHONHASHSEED=42 + export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7) + export BUILD_FILE_NAME=staking_deposit-cli-${CIRCLE_SHORT_SHA1}-linux-arm64; + export TEST_FOLDER_NAME=TMP_TEST_FOLDER + mkdir ${TEST_FOLDER_NAME} + cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME} + cp test_binary_script.py ${TEST_FOLDER_NAME} + cd ${TEST_FOLDER_NAME} + python test_binary_script.py ./${BUILD_FILE_NAME}; - run: name: Compress the file command: |