<commit_before>name: build_and_test
on: [ push ]
jobs:
    test:
        name: build_and_test
        runs-on: ubuntu-latest
        steps:
            -   name: Checkout code
                uses: actions/checkout@v2

            -   name: Setup PHP, with composer and extensions
                uses: shivammathur/setup-php@v2
                with:
                    php-version: 7.4

            -   name: Cache Composer dependencies
                uses: actions/cache@v1
                with:
                    path: vendor
                    key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
                    restore-keys: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}

            -   name: Cache Yarn dependencies
                uses: actions/cache@v1
                with:
                    path: node_modules
                    key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}
                    restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}

            -   name: Install Composer dependencies
                run: composer upate

            -   name: Install Yarn dependencies
                run: yarn install

            -   name: Run tests
                run: composer test

            -   name: Build assets
                run: yarn build<commit_msg>Fix typo in tests<commit_after>name: build_and_test
on: [ push ]
jobs:
    test:
        name: build_and_test
        runs-on: ubuntu-latest
        steps:
            -   name: Checkout code
                uses: actions/checkout@v2

            -   name: Setup PHP, with composer and extensions
                uses: shivammathur/setup-php@v2
                with:
                    php-version: 7.4

            -   name: Cache Composer dependencies
                uses: actions/cache@v1
                with:
                    path: vendor
                    key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
                    restore-keys: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}

            -   name: Cache Yarn dependencies
                uses: actions/cache@v1
                with:
                    path: node_modules
                    key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}
                    restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}

            -   name: Install Composer dependencies
                run: composer update

            -   name: Install Yarn dependencies
                run: yarn install

            -   name: Run tests
                run: composer test

            -   name: Build assets
                run: yarn build
{'fraction_non_alphanumeric': 0.1072346676459787, 'fraction_numerical': 0.0044069041498347415, 'mean_word_length': 1.2364532019704433, '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': '7540054', 'n_tokens_mistral': 746, 'n_tokens_neox': 675, 'n_words': 178}