<commit_before>on: [push]

jobs:
  rubocop:
    runs-on: ubuntu-latest
    name: A job to codecov report.
    steps:
    - uses: actions/checkout@v2
      with:
        submodules: recursive
    - run: docker-compose pull
      working-directory: docker/development
    - uses: satackey/action-docker-layer-caching@v0.0.11
      continue-on-error: true
    - name: Install dependencies
      working-directory: docker/development
      run: |
          docker-compose run mampf  sh -c "RAILS_ENV=test  rails db:create"
          docker-compose run mampf  sh -c "RAILS_ENV=test  rails db:migrate"
          docker-compose run mampf  sh -c "RAILS_ENV=test  rails db:test:prepare"
    - name: Create database
      working-directory: docker/development
      run: |
          docker-compose run mampf  sh -c "RAILS_ENV=test  rake sunspot:reindex"
    - name: Run tests
      working-directory: docker/development
      run: docker-compose run mampf  sh -c "RAILS_ENV=test rails spec"
    - name: Send test coverage report to codecov.io
      uses: codecov/codecov-action@v1<commit_msg>empty entrypoint<commit_after>on: [push]

jobs:
  rubocop:
    runs-on: ubuntu-latest
    name: A job to codecov report.
    steps:
    - uses: actions/checkout@v2
      with:
        submodules: recursive
    - run: docker-compose pull
      working-directory: docker/development
    - uses: satackey/action-docker-layer-caching@v0.0.11
      continue-on-error: true
    - name: Install dependencies
      working-directory: docker/development
      run: |
          docker-compose run --entrypoint="" mampf  sh -c "RAILS_ENV=test  rails db:create"
          docker-compose run --entrypoint="" mampf  sh -c "RAILS_ENV=test  rails db:migrate"
          docker-compose run --entrypoint="" mampf  sh -c "RAILS_ENV=test  rails db:test:prepare"
    - name: Create database
      working-directory: docker/development
      run: |
          docker-compose run --entrypoint="" mampf  sh -c "RAILS_ENV=test  rake sunspot:reindex"
    - name: Run tests
      working-directory: docker/development
      run: docker-compose run --entrypoint="" mampf  sh -c "RAILS_ENV=test rails spec"
    - name: Send test coverage report to codecov.io
      uses: codecov/codecov-action@v1
{'fraction_non_alphanumeric': 0.09568313306631064, 'fraction_numerical': 0.0053404539385847796, 'mean_word_length': 2.608346709470305, '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': '1527662', 'n_tokens_mistral': 775, 'n_tokens_neox': 728, 'n_words': 193}