<commit_before>---
name: build

on:  # yamllint disable-line rule:truthy
  push:
    paths-ignore:
      - README.md
  pull_request:
    branches:
      - master

jobs:
  ansible-lint:
    container:
      image: quay.io/ansible/toolset:main
    name: Lint Ansible files
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: ansible-lint --force-color
  yamllint:
    container:
      image: quay.io/ansible/toolset:main
    name: Lint YAML files
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: yamllint --format github --strict .
  molecule:
    container:
      image: quay.io/ansible/toolset:main
    name: Test Ansible roles
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: |
          molecule test --all<commit_msg>Add unit testing only, parallelize in actions<commit_after>---
name: build

on:  # yamllint disable-line rule:truthy
  push:
    paths-ignore:
      - README.md
  pull_request:
    branches:
      - master

jobs:
  ansible-lint:
    container:
      image: quay.io/ansible/toolset:main
    name: Lint Ansible files
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: ansible-lint --force-color
  yamllint:
    container:
      image: quay.io/ansible/toolset:main
    name: Lint YAML files
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: yamllint --format github --strict .
  molecule:
    container:
      image: quay.io/ansible/toolset:main
    name: Unit test Ansible roles
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: |
          molecule test --scenario-name unit --parallel
{'fraction_non_alphanumeric': 0.1039112667834209, 'fraction_numerical': 0.0035026269702276708, 'mean_word_length': 2.168207024029575, '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': '211782', 'n_tokens_mistral': 612, 'n_tokens_neox': 597, 'n_words': 138}