<commit_before>on: [push]
name: "Checks and tests"
jobs:
    checks-and-tests:
        name: Run checks and tests in PHP ${{ matrix.php-versions }} ${{ matrix.composer-prefered-dependencies }}
        runs-on: ubuntu-20.04
        strategy:
            matrix:
                php-versions: ['7.2', '7.3', '7.4']
                composer-prefered-dependencies: ['--prefer-lowest', '']
            fail-fast: false
        steps:
            -   name: GIT checkout branch - ${{ github.ref }}
                uses: actions/checkout@v2
                with:
                    ref: ${{ github.ref }}
            -   name: Install PHP, extensions and tools
                uses: shivammathur/setup-php@v2
                with:
                    php-version: ${{ matrix.php-versions }}
                    extensions: bcmath, gd, intl, pdo_pgsql, redis, pgsql, zip
                    tools: composer
            -   name: Install Composer dependencies
            -   name: Run parallel-lint
                run: php vendor/bin/parallel-lint ./src ./tests
            -   name: Run Easy Coding Standards
                run: php vendor/bin/ecs check --verbose ./src ./tests
            -   name: Run PHPUnit
                run: php vendor/bin/phpunit tests<commit_msg>http-smoke-testing: fix github actions configuration<commit_after>on: [push]
name: "Checks and tests"
jobs:
    checks-and-tests:
        name: Run checks and tests in PHP ${{ matrix.php-versions }} ${{ matrix.composer-prefered-dependencies }}
        runs-on: ubuntu-20.04
        strategy:
            matrix:
                php-versions: ['7.2', '7.3', '7.4']
                composer-prefered-dependencies: ['--prefer-lowest', '']
            fail-fast: false
        steps:
            -   name: GIT checkout branch - ${{ github.ref }}
                uses: actions/checkout@v2
                with:
                    ref: ${{ github.ref }}
            -   name: Install PHP, extensions and tools
                uses: shivammathur/setup-php@v2
                with:
                    php-version: ${{ matrix.php-versions }}
                    extensions: bcmath, gd, intl, pdo_pgsql, redis, pgsql, zip
                    tools: composer
            -   name: Install Composer dependencies
                run: composer install --optimize-autoloader --no-interaction
            -   name: Run parallel-lint
                run: php vendor/bin/parallel-lint ./src ./tests
            -   name: Run Easy Coding Standards
                run: php vendor/bin/ecs check --verbose ./src ./tests
            -   name: Run PHPUnit
                run: php vendor/bin/phpunit tests
{'fraction_non_alphanumeric': 0.10935143288084465, 'fraction_numerical': 0.00904977375565611, 'mean_word_length': 1.4250457038391224, 'pattern_counts': {'":': 0, '<': 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': '6256567', 'n_tokens_mistral': 774, 'n_tokens_neox': 705, 'n_words': 192}