diff --git a/ci/run-check.sh b/ci/run-check.sh index 8f8178ffd5..b0f74471a8 100755 --- a/ci/run-check.sh +++ b/ci/run-check.sh @@ -18,41 +18,41 @@ case $TARGET in # ;; test-integration) - cargo build --release --package runtime-integration-tests -vv + forge -V - echo "NOW TESTING" - cargo test --release --package runtime-integration-tests --features fast-runtime & - CARGO_PID=$! - BUILD_DISCOVERED=false - DEPS_DISCOVERED=false - while true; do - if [ -d "./target/" ]; then - if ls ./target/release/build/runtime-integration* 1> /dev/null 2>&1; then - ls -l ./target/release/build/runtime-integration*/out/ - echo "release build directory exists." - BUILD_DISCOVERED=true - fi - if [ -d "./target/release/deps" ] && ls ./target/release/deps/runtime_integration* 1> /dev/null 2>&1; then - ls -l ./target/release/deps/runtime_integration*/out/ - echo "Deps build directory exists." - DEPS_DISCOVERED=true - fi - if [ "$BUILD_DISCOVERED" = true ] && [ "$DEPS_DISCOVERED" = true ]; then - echo "Both build and dependency directories have been discovered." - break - fi - sleep 30 - else - echo "Folder ./target not found" - sleep 5 - fi - if ! ps -p $CARGO_PID > /dev/null; then - echo "Cargo process has finished." - break - fi - done - wait $CARGO_PID - exit $? +# echo "NOW TESTING" + cargo test --release --package runtime-integration-tests +# CARGO_PID=$! +# BUILD_DISCOVERED=false +# DEPS_DISCOVERED=false +# while true; do +# if [ -d "./target/" ]; then +# if ls ./target/release/build/runtime-integration* 1> /dev/null 2>&1; then +# ls -l ./target/release/build/runtime-integration*/out/ +# echo "release build directory exists." +# BUILD_DISCOVERED=true +# fi +# if [ -d "./target/release/deps" ] && ls ./target/release/deps/runtime_integration* 1> /dev/null 2>&1; then +# ls -l ./target/release/deps/runtime_integration*/out/ +# echo "Deps build directory exists." +# DEPS_DISCOVERED=true +# fi +# if [ "$BUILD_DISCOVERED" = true ] && [ "$DEPS_DISCOVERED" = true ]; then +# echo "Both build and dependency directories have been discovered." +# break +# fi +# sleep 30 +# else +# echo "Folder ./target not found" +# sleep 5 +# fi +# if ! ps -p $CARGO_PID > /dev/null; then +# echo "Cargo process has finished." +# break +# fi +# done +# wait $CARGO_PID +# exit $? ;; lint-fmt)