<commit_before># FROM jamiehewland/alpine-pypy@sha256:7520e252684f76bd393c85538e492c86e06c097da40c595e688b036e9d2ca34a as TESTER
FROM python:3.7 as TESTER
MAINTAINER @ashmastaflash

# RUN apk add -U \
RUN apt-get update && apt-get install -y \
    curl \
    expect \
    gzip \
    tcl \
    unzip

COPY requirements* /

RUN pip3 install -r requirements-test.txt

COPY sitch/ /app/sitch


WORKDIR /app/sitch

RUN ls /app/sitch

# RUN /usr/local/bin/pypy -mpy.test \
RUN python3 -m pytest \
    --cov=sitchlib \
    --cov-report term-missing \
    --profile \
    ./

##################

# FROM jamiehewland/alpine-pypy@sha256:7520e252684f76bd393c85538e492c86e06c097da40c595e688b036e9d2ca34a
FROM python:3.7
MAINTAINER @ashmastaflash

# RUN apk add -U \
RUN apt-get update && apt-get install -y \
    curl \
    expect \
    gzip \
    tcl \
    unzip

COPY requirements* /

RUN pip3 install -r requirements.txt

COPY sitch/ /app/sitch


WORKDIR /app/sitch

# ENTRYPOINT ["/usr/local/bin/pypy"]
ENTRYPOINT ["python3"]
CMD ["/app/sitch/runner.py"]<commit_msg>chg: dev: Switch to pypy 3.6<commit_after>FROM pypy:3.6 as TESTER

RUN apt-get update && apt-get install -y \
    curl \
    expect \
    gzip \
    tcl \
    unzip

COPY requirements* /

RUN pip install --no-cache-dir -r requirements-test.txt

COPY sitch/ /app/sitch

WORKDIR /app/sitch

RUN ls /app/sitch

RUN pypy3 -m pytest \
    --cov=sitchlib \
    --cov-report term-missing \
    --profile \
    ./

##################

FROM pypy:3.6

RUN apt-get update && apt-get install -y \
    curl \
    expect \
    gzip \
    tcl \
    unzip

COPY requirements* /

RUN pip install --no-cache-dir -r requirements.txt

COPY sitch/ /app/sitch


WORKDIR /app/sitch

ENTRYPOINT ["pypy3"]
CMD ["/app/sitch/runner.py"]
{'fraction_non_alphanumeric': 0.13242784380305603, 'fraction_numerical': 0.06338426711941143, 'mean_word_length': 2.557344064386318, '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': '1612575', 'n_tokens_mistral': 780, 'n_tokens_neox': 709, 'n_words': 164}