<commit_before>image: php:7.1

stages:
  - test
  - coverage
  
cache:
  paths:
    - vendor/
  
.mariadb_template: &mariadb
    services:
        - mariadb:latest
    variables:
        DB_HOST: mariadb
        DB_CONNECTION: mysql
        TENANCY_SYSTEM_CONNECTION_NAME: mysql
        MYSQL_DATABASE: testing
        MYSQL_ROOT_PASSWORD: <PASSWORD>
        
.pgsql_template: &pgsql
    services:
        - postgres:latest
    variables:
        DB_HOST: postgres
        DB_CONNECTION: pgsql
        TENANCY_SYSTEM_CONNECTION_NAME: pgsql
        POSTGRES_DB: testing
        POSTGRES_USER: root
        POSTGRES_PASSWORD: root

.before_template: &before_script
  before_script:<commit_msg>attempt to configure root host<commit_after>image: php:7.1

stages:
  - test
  - coverage
  
cache:
  paths:
    - vendor/
  
.mariadb_template: &mariadb
    services:
        - mariadb:latest
    variables:
        DB_HOST: mariadb
        DB_CONNECTION: mysql
        TENANCY_SYSTEM_CONNECTION_NAME: mysql
        MYSQL_DATABASE: testing
        MYSQL_ROOT_PASSWORD: <PASSWORD>
        MYSQL_ROOT_HOST: mariadb
        
.pgsql_template: &pgsql
    services:
        - postgres:latest
    variables:
        DB_HOST: postgres
        DB_CONNECTION: pgsql
        TENANCY_SYSTEM_CONNECTION_NAME: pgsql
        POSTGRES_DB: testing
        POSTGRES_USER: root
        POSTGRES_PASSWORD: root

.before_template: &before_script
  before_script:
{'fraction_non_alphanumeric': 0.06215083798882681, 'fraction_numerical': 0.002793296089385475, 'mean_word_length': 2.3559718969555035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1248162', 'n_tokens_mistral': 504, 'n_tokens_neox': 504, 'n_words': 91}