<commit_before>name: build

on:
  push:
  pull_request:
  schedule:
    - cron: '0 20 * * 2'

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.9]
        numpy-version: ["1.20","1.21"]
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install numpy==${{ matrix.numpy-version }}
        pip install pyparsing==2.4.7 # For issue with six which requires pyparsing < 3
    - name: Test downloads
      run: |
        python setup.py install --test-downloads --all-downloads
    - name: Install package
      run: |
        python setup.py install --no-downloads<commit_msg>Define DUST_DIR<commit_after>name: build

on:
  push:
  pull_request:
  schedule:
    - cron: '0 20 * * 2'

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.9]
        numpy-version: ["1.20","1.21"]
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install numpy==${{ matrix.numpy-version }}
        pip install pyparsing==2.4.7 # For issue with six which requires pyparsing < 3
    - name: Test downloads
      env:
        DUST_DIR: data/
      run: |
        python setup.py install --test-downloads --all-downloads
    - name: Install package
      run: |
        python setup.py install --no-downloads
{'fraction_non_alphanumeric': 0.1212633953750705, 'fraction_numerical': 0.02030456852791878, 'mean_word_length': 2.0905923344947737, 'pattern_counts': {'":': 0, '<': 5, '<?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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '487982', 'n_tokens_mistral': 585, 'n_tokens_neox': 561, 'n_words': 153}