<commit_before>variables:
    PROJECT: edde-framework

stages:
    - test
    - composer
    - review
    - staging
    - production

test:
    stage: test
    script:
        - php bin/composer.phar install
        - php bin/phpunit.phar --coverage-text --colors=never --exclude-group http
    artifacts:
        name: $PROJECT-$CI_BUILD_REF_NAME-failed
        untracked: true
        when: on_failure

composer:
    stage: composer
    script:
        - curl -X POST -F token=53839921cd8d3e4844a8203d3bedf9 -F ref=master https://edde-framework.org/api/v3/projects/4/trigger/builds
    only:
        - master
        - tags
        - /^\d+\.\d+$/

review:
    stage: review
    script:
        - php bin/composer.phar install
        - php bin/composer.phar exec phpunit -- --coverage-text --colors=never
    artifacts:
        name: $PROJECT-$CI_BUILD_REF_NAME-failed
        untracked: true
        when: on_failure
    environment:
        name: review/$CI_BUILD_REF_NAME
        url: https://$CI_ENVIRONMENT_SLUG.edde-framework.org:8080/
    except:
        - master

staging:
    stage: staging
    script:
        - echo 'staging'
    environment:
        name: staging
        url: https://staging.edde-framework.org:8080/<commit_msg>- update ci<commit_after>variables:
    PROJECT: edde-framework

stages:
    - test
    - composer
    - review
    - staging
    - production

test:
    stage: test
    script:
        - php bin/composer.phar install
        - php bin/phpunit.phar --coverage-text --colors=never --exclude-group http
    artifacts:
        name: $PROJECT-$CI_BUILD_REF_NAME-failed
        untracked: true
        when: on_failure

composer:
    stage: composer
    script:
        - curl -X POST -F token=53839921cd8d3e4844a8203d3bedf9 -F ref=master https://edde-framework.org/api/v3/projects/4/trigger/builds
    only:
        - master
        - tags
        - /^\d+\.\d+$/

review:
    stage: review
    script:
        - php bin/composer.phar install
        - php bin/phpunit.phar --coverage-text --colors=never
    artifacts:
        name: $PROJECT-$CI_BUILD_REF_NAME-failed
        untracked: true
        when: on_failure
    environment:
        name: review/$CI_BUILD_REF_NAME
        url: https://$CI_ENVIRONMENT_SLUG.edde-framework.org:8080/
    except:
        - master

staging:
    stage: staging
    script:
        - echo 'staging'
    environment:
        name: staging
        url: https://staging.edde-framework.org:8080/
{'fraction_non_alphanumeric': 0.10498581272800973, 'fraction_numerical': 0.02432103769760843, 'mean_word_length': 1.955688622754491, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '1013023', 'n_tokens_mistral': 866, 'n_tokens_neox': 815, 'n_words': 165}