<commit_before>#!/bin/bash -e
cd $(dirname $0)

USER="root"
HOST="172.16.58.3"
DIR=$(ssh ${USER}@${HOST} "mktemp -d /tmp/build.XXXXXX")

scp -qr . ${USER}@${HOST}:${DIR}
ssh ${USER}@${HOST} "
 cd ${DIR} &&
 cp resources/config/local.ci.php resources/config/local.php
 composer -q -n install &&
 phpunit -d display_errors=1 tests/
"
ssh ${USER}@${HOST} "rm -rf ${DIR}"<commit_msg>t558: Noop ssh command to add key to known_hosts<commit_after>#!/bin/bash -e
cd $(dirname $0)

USER="root"
HOST="172.16.58.3"

ssh -o StrictHostKeyChecking=no ${USER}@${HOST} echo -n
DIR=$(ssh ${USER}@${HOST} "mktemp -d /tmp/build.XXXXXX")

scp -qr . ${USER}@${HOST}:${DIR}
ssh ${USER}@${HOST} "
 cd ${DIR} &&
 cp resources/config/local.ci.php resources/config/local.php
 composer -q -n install &&
 phpunit -d display_errors=1 tests/
"
ssh ${USER}@${HOST} "rm -rf ${DIR}"
{'fraction_non_alphanumeric': 0.22941176470588234, 'fraction_numerical': 0.027058823529411764, 'mean_word_length': 4.455128205128205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2581061', 'n_tokens_mistral': 370, 'n_tokens_neox': 340, 'n_words': 83}