mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-03 09:37:39 +00:00
adds tests to linux arm64 so that everything breaks now
This commit is contained in:
parent
e02316cfe0
commit
a0d4190127
@ -169,6 +169,18 @@ jobs:
|
|||||||
mkdir ${BUILD_FILE_NAME};
|
mkdir ${BUILD_FILE_NAME};
|
||||||
pyenv global 3.7.5;
|
pyenv global 3.7.5;
|
||||||
pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec;
|
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:
|
- run:
|
||||||
name: Compress the file
|
name: Compress the file
|
||||||
command: |
|
command: |
|
||||||
|
Loading…
Reference in New Issue
Block a user