<commit_before>name: CI

on:
  push:
    branches:
    - master
  pull_request:
    types:
    - opened
    - synchronize
    - reopened

jobs:
  test:
    name: ${{ matrix.os }}/${{ matrix.ruby }}/${{ matrix.python }}-${{ matrix.python_architecture }}
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os:
        - ubuntu-20.04
        - macos-latest
        - windows-latest
        ruby:
        - "3.0"
        - 2.7
        - 2.6
        python:
        - 3.x
        - 2.x
        python_architecture:
        - x64
        include:
        - { os: ubuntu-20.04   , ruby: 2.5   , python: 3.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.4   , python: 3.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.5   , python: 2.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.4   , python: 2.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.7   , python: 3.8 , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.7   , python: 3.7 , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.7   , python: 3.6 , python_architecture: x64 }
        - { os: ubuntu-18.04   , ruby: 2.7   , python: 3.8 , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: debug , python: 3.x , python_architecture: x64 }
        - { os: macos-latest   , ruby: debug , python: 3.x , python_architecture: x64 }
        - { os: windows-latest , ruby: mswin , python: 3.x , python_architecture: x64 }
        - { os: windows-latest , ruby: mingw , python: 3.x , python_architecture: x64 }

    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1

    - uses: ruby/setup-ruby@v1
      if: matrix.ruby_version != 'master-nightly'
      with:
        ruby-version: ${{ matrix.ruby }}

    - uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python }}
        architecture: ${{ matrix.python_architecture }}

    - run: pip install --user numpy

    - run: bundle install

    - run: rake compile

    - run: python lib/pycall/python/investigator.py

    - run: rake
      env:
        PYTHON: python<commit_msg>CI: disable debug version of Ruby tentatively<commit_after>name: CI

on:
  push:
    branches:
    - master
  pull_request:
    types:
    - opened
    - synchronize
    - reopened

jobs:
  test:
    name: ${{ matrix.os }}/${{ matrix.ruby }}/${{ matrix.python }}-${{ matrix.python_architecture }}
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os:
        - ubuntu-20.04
        - macos-latest
        - windows-latest
        ruby:
        - "3.0"
        - 2.7
        - 2.6
        python:
        - 3.x
        - 2.x
        python_architecture:
        - x64
        include:
        - { os: ubuntu-20.04   , ruby: 2.5   , python: 3.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.4   , python: 3.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.5   , python: 2.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.4   , python: 2.x , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.7   , python: 3.8 , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.7   , python: 3.7 , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: 2.7   , python: 3.6 , python_architecture: x64 }
        - { os: ubuntu-18.04   , ruby: 2.7   , python: 3.8 , python_architecture: x64 }
        - { os: ubuntu-20.04   , ruby: debug , python: 3.x , python_architecture: x64 }
        #- { os: macos-latest   , ruby: debug , python: 3.x , python_architecture: x64 }
        #- { os: windows-latest , ruby: mswin , python: 3.x , python_architecture: x64 }
        #- { os: windows-latest , ruby: mingw , python: 3.x , python_architecture: x64 }

    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1

    - uses: ruby/setup-ruby@v1
      if: matrix.ruby_version != 'master-nightly'
      with:
        ruby-version: ${{ matrix.ruby }}

    - uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python }}
        architecture: ${{ matrix.python_architecture }}

    - run: pip install --user numpy

    - run: bundle install

    - run: rake compile

    - run: python lib/pycall/python/investigator.py

    - run: rake
      env:
        PYTHON: python
{'fraction_non_alphanumeric': 0.13999549853702453, 'fraction_numerical': 0.049516092730137296, 'mean_word_length': 1.7415175817396669, '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': '3065859', 'n_tokens_mistral': 1800, 'n_tokens_neox': 1537, 'n_words': 353}