<commit_before>name: Run tests

on:
  push:
  pull_request:
    types: [opened, synchronize, reopened]
    branches:
      - master

jobs:
    test-php:
        name: Test on php ${{ matrix.php-version }} and ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
        services:
          database-server:
            image: ${{ matrix.db-server }}
            env:
              MYSQL_ROOT_PASSWORD: <PASSWORD>
            ports:
              - "3306:3306"
            options: >-
              --health-cmd="mysqladmin ping"
              --health-interval=10s
              --health-timeout=5s
              --health-retries=3
        strategy:
            matrix:
                php-version: ["7.2", "7.3", "7.4"]
                db-server: ["mysql:5.7"]
                os: [ubuntu-latest]
        steps:
            - uses: actions/checkout@v2
            - name: Use php ${{ matrix.php-version }}<commit_msg>Add PHP 8.0 to the compatiblity matrix<commit_after>name: Run tests

on:
  push:
  pull_request:
    types: [opened, synchronize, reopened]
    branches:
      - master

jobs:
    test-php:
        name: Test on php ${{ matrix.php-version }} and ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
        services:
          database-server:
            image: ${{ matrix.db-server }}
            env:
              MYSQL_ROOT_PASSWORD: <PASSWORD>
            ports:
              - "3306:3306"
            options: >-
              --health-cmd="mysqladmin ping"
              --health-interval=10s
              --health-timeout=5s
              --health-retries=3
        strategy:
            matrix:
                php-version: ["7.2", "7.3", "7.4", "8.0"]
                db-server: ["mysql:5.7"]
                os: [ubuntu-latest]
        steps:
            - uses: actions/checkout@v2
            - name: Use php ${{ matrix.php-version }}
{'fraction_non_alphanumeric': 0.13465665236051502, 'fraction_numerical': 0.02467811158798283, 'mean_word_length': 1.33125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5972302', 'n_tokens_mistral': 594, 'n_tokens_neox': 556, 'n_words': 117}