<commit_before># DO NOT EDIT THIS FILE!
#
# It's auto-generated by sonata-project/dev-kit package.

name: Test

on:
    push:
        branches:
            - 1.x
            - master
    pull_request:

jobs:
    test:
        name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }}

        runs-on: ubuntu-latest

        continue-on-error: ${{ matrix.allowed-to-fail }}

        env:
            SYMFONY_REQUIRE: ${{matrix.symfony-require}}

        services:
            mongo:
                image: mongo
                ports:
                    - 27017:27017

        strategy:
            matrix:
                php-version:
                    - '7.3'
                    - '7.4'
                    - '8.0'
                dependencies: [highest]
                allowed-to-fail: [false]
                symfony-require: [""]
                variant: [normal]
                include:
                    - php-version: '7.3'
                      dependencies: lowest
                      allowed-to-fail: false
                      variant: normal

        steps:
            - name: Checkout
              uses: actions/checkout@v2

            - name: Install PHP with extensions
              uses: shivammathur/setup-php@v2
              with:
                  php-version: ${{ matrix.php-version }}
                  coverage: pcov
                  tools: composer:v2
                  extensions: mongodb-1.9.0

            - name: Add PHPUnit matcher
              run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

            - name: "Globally install symfony/flex"
              if: matrix.symfony-require != ''
              run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex"

            - name: Install variant
              if: matrix.variant != 'normal' && !startsWith(matrix.variant, 'symfony/symfony')
              run: composer require ${{ matrix.variant }} --no-update

            - name: "Install Composer dependencies (${{ matrix.dependencies }})"
              uses: "ramsey/composer-install@v1"
              with:
                  dependency-versions: "${{ matrix.dependencies }}"
                  composer-options: "--prefer-dist --prefer-stable"

            - name: Run Tests with coverage
              run: make coverage
<commit_msg>DevKit updates (#350)<commit_after># DO NOT EDIT THIS FILE!
#
# It's auto-generated by sonata-project/dev-kit package.

name: Test

on:
    push:
        branches:
            - 1.x
            - master
    pull_request:

jobs:
    test:
        name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }}

        runs-on: ubuntu-latest

        continue-on-error: ${{ matrix.allowed-to-fail }}

        env:
            SYMFONY_REQUIRE: ${{matrix.symfony-require}}

        services:
            mongo:
                image: mongo
                ports:
                    - 27017:27017

        strategy:
            matrix:
                php-version:
                    - '7.3'
                    - '7.4'
                    - '8.0'
                dependencies: [highest]
                allowed-to-fail: [false]
                symfony-require: [""]
                variant: [normal]
                include:
                    - php-version: '7.3'
                      dependencies: lowest
                      allowed-to-fail: false
                      variant: normal

        steps:
            - name: Checkout
              uses: actions/checkout@v2

            - name: Install PHP with extensions
              uses: shivammathur/setup-php@v2
              with:
                  php-version: ${{ matrix.php-version }}
                  coverage: pcov
                  tools: composer:v2
                  extensions: mongodb-1.9.0

            - name: Add PHPUnit matcher
              run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

            - name: "Globally install symfony/flex"
              if: matrix.symfony-require != ''
              run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex"

            - name: Install variant
              if: matrix.variant != 'normal' && !startsWith(matrix.variant, 'symfony/symfony')
              run: composer require ${{ matrix.variant }} --no-update

            - name: Allow unstable dependencies
              run: composer config minimum-stability dev

            - name: "Install Composer dependencies (${{ matrix.dependencies }})"
              uses: "ramsey/composer-install@v1"
              with:
                  dependency-versions: "${{ matrix.dependencies }}"
                  composer-options: "--prefer-dist --prefer-stable"

            - name: Run Tests with coverage
              run: make coverage

{'fraction_non_alphanumeric': 0.10920726672171759, 'fraction_numerical': 0.011354252683732453, 'mean_word_length': 1.2451343836886006, 'pattern_counts': {'":': 2, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4908734', 'n_tokens_mistral': 1342, 'n_tokens_neox': 1223, 'n_words': 289}