<commit_before>name: test

# Run on pull requests and on the master branch itself.
on:
  push:
    branches:
      - master
    tags:
      - "*"
  pull_request:


jobs:
  build_and_test:
    runs-on: ubuntu-18.04
    steps:
      # Checkout the code.
      - uses: actions/checkout@v2
      - name: build
        run: |
          docker-compose build
          docker-compose run web buildout
      - name: test
        run: docker-compose run web bin/test
      # TODO fix coveralls setup.
      - name: coverage report
        run: docker-compose run web bin/coveralls
        env:
          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}<commit_msg>Using new way of running coverage<commit_after>name: test

# Run on pull requests and on the master branch itself.
on:
  push:
    branches:
      - master
    tags:
      - "*"
  pull_request:


jobs:
  build_and_test:
    runs-on: ubuntu-18.04
    steps:
      # Checkout the code.
      - uses: actions/checkout@v2
      - name: build
        run: |
          docker-compose build
          docker-compose run web buildout
      - name: test
        run: docker-compose run web bin/test
      - name: coverage report
        run: |
          pip3 install --upgrade coveralls
          coveralls
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
{'fraction_non_alphanumeric': 0.08220211161387632, 'fraction_numerical': 0.008295625942684766, 'mean_word_length': 1.8354700854700854, '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': '1175274', 'n_tokens_mistral': 431, 'n_tokens_neox': 416, 'n_words': 120}