<commit_before>name: Build

on:
  create:
  push:
    branches:
      - '**'
  pull_request:
  schedule:
    - cron: "0 8 * * *"

jobs:
  test:
    name: test ${{ matrix.py }} - macos
    runs-on: macos-latest
    strategy:
      matrix:
        py:
          - 3.9
          - 3.8
          - 3.7
          - 3.6
          # pypy is not tested on osx because it requires building numpy from source which causes errors
    steps:
      - name: Setup Python for test ${{ matrix.py }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.py }}
      - name: Install OS dependencies
        run: |
          for i in 1 2 3; do
            echo "try $i" && \
            brew update -vvv && \
            brew install snappy && \
            CPPFLAGS="-I/usr/local/include -L/usr/local/lib" python -m pip install python-snappy && \
            exit 0 || true;
          done
          exit 1
        shell: bash
      - uses: actions/checkout@v2
      - name: Install Testing Dependencies
        run: pip install -r developer_requirements.txt
      - name: Run Tests
        run: ./run-tests.sh && codecov
      - name: Make Wheel
        if: ${{ matrix.py != 'pypy3' }}
        run: FASTAVRO_USE_CYTHON=1 python setup.py bdist_wheel
      - name: Archive wheels
        if: ${{ matrix.py != 'pypy3' }}<commit_msg>test pypy3 on osx<commit_after>name: Build

on:
  create:
  push:
    branches:
      - '**'
  pull_request:
  schedule:
    - cron: "0 8 * * *"

jobs:
  test:
    name: test ${{ matrix.py }} - macos
    runs-on: macos-latest
    strategy:
      matrix:
        py:
          - 3.9
          - 3.8
          - 3.7
          - 3.6
          - pypy3
    steps:
      - name: Setup Python for test ${{ matrix.py }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.py }}
      - name: Install OS dependencies
        run: |
          for i in 1 2 3; do
            echo "try $i" && \
            brew update -vvv && \
            brew install snappy && \
            CPPFLAGS="-I/usr/local/include -L/usr/local/lib" python -m pip install python-snappy && \
            exit 0 || true;
          done
          exit 1
        shell: bash
      - uses: actions/checkout@v2
      - name: Install numpy for pypy3
        if: ${{ matrix.py == 'pypy3' }}
        run: |
          brew install openblas
          OPENBLAS="$(brew --prefix openblas)" pip install numpy
      - name: Install Testing Dependencies
        run: pip install -r developer_requirements.txt
      - name: Run Tests
        run: ./run-tests.sh && codecov
      - name: Make Wheel
        if: ${{ matrix.py != 'pypy3' }}
        run: FASTAVRO_USE_CYTHON=1 python setup.py bdist_wheel
      - name: Archive wheels
        if: ${{ matrix.py != 'pypy3' }}
{'fraction_non_alphanumeric': 0.11817208139950018, 'fraction_numerical': 0.01570867547304534, 'mean_word_length': 1.4774535809018567, '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': '4488409', 'n_tokens_mistral': 926, 'n_tokens_neox': 882, 'n_words': 254}