Created
October 23, 2021 01:42
-
-
Save vodolaz/f4fcb3fbe40e92f3f5dad30f78c63d7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo $(date) | |
echo START | |
echo Test with python | |
pipenv sync | |
pipenv run flake8 ./src | |
pipenv run flake8 ./tests | |
pipenv run pytest --alluredir=report/allure-results | |
ls -lah | |
mv /opt/test/report/allure-results/* /opt/test/report-night/ | |
echo Node Contracts Openzeppelin all | |
npm ci | |
npm run build --if-present | |
cd openzeppelin-contracts | |
echo "folder:" | |
pwd | |
echo "folder content:" | |
ls -la | |
echo "=============================================================================================" | |
echo "====================================== single tests =========================================" | |
echo "=============================================================================================" | |
chmod 555 run_tests.sh | |
./run_tests.sh | |
cd .. | |
ls -lah /opt/test/openzeppelin-contracts/report/allure-results/ | |
mv /opt/test/openzeppelin-contracts/report/allure-results/* /opt/test/report-night/ | |
mv /opt/test/report/allure-results/* /opt/test/report-night/ | |
echo node | |
npm ci | |
npm run build --if-present | |
npm run test:ci | |
mv ./report/allure-results/* /opt/test/report-night/ | |
echo Hardhat | |
npm run test:hardhat:advanced | |
mv ./frameworks/hardhat-advanced/report/allure-results/* /opt/test/report-night/ | |
gradle wrapper --gradle-version 7.2 | |
gradle --version | |
chmod +x gradlew | |
./gradlew build --warning-mode all | |
mv /opt/test/report/allure-results/*.json /opt/test/report-night/ | |
echo dotnet | |
dotnet --version | |
dotnet restore | |
dotnet build --no-restore | |
dotnet test --no-build --verbosity normal | |
ls -lah /opt/test/report/ | |
mv /opt/test/report/*.json /opt/test/report-night/ | |
echo STOP | |
echo $(date) | |
test.sh (END) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment