<commit_before>name: CI Unit tests

on:
  push:
    branches: [ "*" ]
  pull_request:
    branches: [ "*" ]

jobs:
  test-legacy-python-versions:
    
    name: "Python 2.6 Unit Tests"
    runs-on: ubuntu-16.04

    strategy:
      fail-fast: false
    env:
      NOSEOPTS: "--verbose"

    steps:

    - name: Install Python 2.6
      run: |
        sudo add-apt-repository ppa:deadsnakes/ppa -y
        sudo apt-get update -y
        sudo apt-get install python2.6 python2.6-dev -y
        sudo ln -sf /usr/bin/python2.6 /usr/bin/python
        PATH="/usr/bin/${PATH:+:${PATH}}"
        echo $PATH
        echo "Installed python2.6"
        python -V
        curl "https://bootstrap.pypa.io/pip/2.6/get-pip.py" -o get-pip.py
        sudo env "PATH=$PATH" python get-pip.py

    - uses: actions/checkout@v2
<commit_msg>Add custom trigger for GHA workflows (#2214)<commit_after>name: CI Unit tests

on:
  push:
    branches: [ "*" ]
  pull_request:
    branches: [ "*" ]
  workflow_dispatch:

jobs:
  test-legacy-python-versions:
    
    name: "Python 2.6 Unit Tests"
    runs-on: ubuntu-16.04

    strategy:
      fail-fast: false
    env:
      NOSEOPTS: "--verbose"

    steps:

    - name: Install Python 2.6
      run: |
        sudo add-apt-repository ppa:deadsnakes/ppa -y
        sudo apt-get update -y
        sudo apt-get install python2.6 python2.6-dev -y
        sudo ln -sf /usr/bin/python2.6 /usr/bin/python
        PATH="/usr/bin/${PATH:+:${PATH}}"
        echo $PATH
        echo "Installed python2.6"
        python -V
        curl "https://bootstrap.pypa.io/pip/2.6/get-pip.py" -o get-pip.py
        sudo env "PATH=$PATH" python get-pip.py

    - uses: actions/checkout@v2

{'fraction_non_alphanumeric': 0.1359338061465721, 'fraction_numerical': 0.024822695035460994, 'mean_word_length': 1.9597902097902098, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4009378', 'n_tokens_mistral': 657, 'n_tokens_neox': 613, 'n_words': 143}