<commit_before>name: UDMI on pull-request tests

on: [push, pull_request]

jobs:
  unit-tests:
    name: Unit Tests
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source
        uses: actions/checkout@v2.3.1
      - name: Install dependencies
        run: |
          sudo apt-get install openjdk-11-jdk
          update-alternatives --config java < /dev/null
          sudo update-alternatives --set java /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/java
      - name: Running unit tests
        run: bin/test_schema<commit_msg>Add java version check<commit_after>name: UDMI on pull-request tests

on: [push, pull_request]

jobs:
  unit-tests:
    name: Unit Tests
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source
        uses: actions/checkout@v2.3.1
      - name: Install dependencies
        run: |
          sudo apt-get install openjdk-11-jdk
          update-alternatives --config java < /dev/null
          sudo update-alternatives --set java /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/java
          java --version
      - name: Running unit tests
        run: bin/test_schema
{'fraction_non_alphanumeric': 0.09608540925266904, 'fraction_numerical': 0.01601423487544484, 'mean_word_length': 2.196022727272727, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2731160', 'n_tokens_mistral': 373, 'n_tokens_neox': 358, 'n_words': 92}