<commit_before>#!/bin/bash

set -euo pipefail
cd ${KOKORO_ARTIFACTS_DIR}/git/tink

cd tools
use_bazel.sh $(cat .bazelversion)
time bazel build -- ...
time bazel test -- ...<commit_msg>Install proto for python in the cross language MacOS test.<commit_after>#!/bin/bash

set -euo pipefail
cd ${KOKORO_ARTIFACTS_DIR}/git/tink
cd tools

# TODO(b/155225382): Avoid modifying the sytem Python installation.
pip3 install --user protobuf

use_bazel.sh $(cat .bazelversion)
time bazel build -- ...
time bazel test -- ...
{'fraction_non_alphanumeric': 0.12720156555772993, 'fraction_numerical': 0.019569471624266144, 'mean_word_length': 3.830188679245283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '7136990', 'n_tokens_mistral': 205, 'n_tokens_neox': 186, 'n_words': 54}