<commit_before>#!/bin/bash

set -e -x

export CI_PROJECT_DIR=$TRAVIS_BUILD_DIR
export PIP_CACHE_DIR=$(pwd)/build/pip/
pip --quiet install vex
vex --python=python3 -m test pip install --quiet -U setuptools wheel pip
vex test pip install --quiet -U -r requirements.txt
vex test pip install --quiet -U -r .ci/requirements.txt
vex test python setup.py -q build install
cd /tmp
export EDGEDB_MODPATH=$(vex test python -c \
    'import edgedb; print(next(iter(edgedb.__path__)))')
vex test python -m unittest discover --verbose -s "${CI_PROJECT_DIR}/tests"
cd "${CI_PROJECT_DIR}"
find build -type f ! -name '*.pickle' ! -wholename 'build/pip/*' -delete && \
    find build -type d -empty -delete
<commit_msg>Use 'et test' for CI<commit_after>#!/bin/bash

set -e -x

export CI_PROJECT_DIR=$TRAVIS_BUILD_DIR
export PIP_CACHE_DIR=$(pwd)/build/pip/
pip --quiet install vex
vex --python=python3 -m test pip install --quiet -U setuptools wheel pip
vex test pip install --quiet -U -r requirements.txt
vex test pip install --quiet -U -r .ci/requirements.txt
vex test python setup.py -q build install
cd /tmp
export EDGEDB_MODPATH=$(vex test python -c \
    'import edgedb; print(next(iter(edgedb.__path__)))')
vex test et test -j8 "${CI_PROJECT_DIR}/tests"
cd "${CI_PROJECT_DIR}"
find build -type f ! -name '*.pickle' ! -wholename 'build/pip/*' -delete && \
    find build -type d -empty -delete

{'fraction_non_alphanumeric': 0.1353111432706223, 'fraction_numerical': 0.002170767004341534, 'mean_word_length': 3.752577319587629, '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': '2313456', 'n_tokens_mistral': 515, 'n_tokens_neox': 477, 'n_words': 165}