<commit_before>name: TEST

on:
  pull_request:
  push:
    branches-ignore:
      - 'releases/**'
    tags-ignore:
      - '*.*'
    paths-ignore:
      - 'README.md'
      - '.github/workflows/DEPLOY.yml'
      - '.github/FUNDING.yml'
      - '.gitignore'
      - '.editorconfig'
      - 'docs/**'
      - 'old/**'

jobs:
  test-windows:
    runs-on: windows-latest
    if: "!contains(github.event.head_commit.message, '-SNAPSHOT')"
    steps:
      - uses: actions/checkout@v1
      #- { uses: actions/cache@v1, with: { path: '~/.gradle/caches', key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-gradle-" } }
      #- { uses: actions/cache@v1, with: { path: '~/.konan', key: "${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-konan-" } }
      - run: CALL gradlew.bat --no-daemon
        shell: cmd
      - run: CALL gradlew.bat --no-daemon jvmTest
        shell: cmd
      - run: CALL gradlew.bat --no-daemon assemble check -x jsBrowserTest -x jsNodeTest
        shell: cmd

  test-mac:
    runs-on: macos-latest
    if: "!contains(github.event.head_commit.message, '-SNAPSHOT')"
    steps:
      - uses: actions/checkout@v1
      #- { uses: actions/cache@v1, with: { path: '~/.gradle/caches', key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-gradle-" } }
      #- { uses: actions/cache@v1, with: { path: '~/.konan', key: "${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-konan-" } }
      - run: ./gradlew --no-daemon
      - run: ./gradlew --no-daemon jvmTest
      - run: ./gradlew --no-daemon check -x jsBrowserTest -x jsNodeTest

  test-linux:
    runs-on: ubuntu-latest
    if: "!contains(github.event.head_commit.message, '-SNAPSHOT')"
    steps:
      - uses: actions/checkout@v1
      #- { uses: actions/cache@v1, with: { path: '~/.gradle/caches', key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-gradle-" } }
      #- { uses: actions/cache@v1, with: { path: '~/.konan', key: "${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-konan-" } }
      - run: ./gradlew --no-daemon
      - run: ./gradlew --no-daemon jvmTest
      - run: ./gradlew --no-daemon check lint testDebugUnitTest -x jsBrowserTest -x jsNodeTest<commit_msg>Disable jsNodeTest<commit_after>name: TEST

on:
  pull_request:
  push:
    branches-ignore:
      - 'releases/**'
    tags-ignore:
      - '*.*'
    paths-ignore:
      - 'README.md'
      - '.github/workflows/DEPLOY.yml'
      - '.github/FUNDING.yml'
      - '.gitignore'
      - '.editorconfig'
      - 'docs/**'
      - 'old/**'

jobs:
  test-windows:
    runs-on: windows-latest
    if: "!contains(github.event.head_commit.message, '-SNAPSHOT')"
    steps:
      - uses: actions/checkout@v1
      #- { uses: actions/cache@v1, with: { path: '~/.gradle/caches', key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-gradle-" } }
      #- { uses: actions/cache@v1, with: { path: '~/.konan', key: "${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-konan-" } }
      - run: CALL gradlew.bat --no-daemon
        shell: cmd
      - run: CALL gradlew.bat --no-daemon jvmTest
        shell: cmd
      - run: CALL gradlew.bat --no-daemon assemble check -x jsBrowserTest
        shell: cmd

  test-mac:
    runs-on: macos-latest
    if: "!contains(github.event.head_commit.message, '-SNAPSHOT')"
    steps:
      - uses: actions/checkout@v1
      #- { uses: actions/cache@v1, with: { path: '~/.gradle/caches', key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-gradle-" } }
      #- { uses: actions/cache@v1, with: { path: '~/.konan', key: "${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-konan-" } }
      - run: ./gradlew --no-daemon
      - run: ./gradlew --no-daemon jvmTest
      - run: ./gradlew --no-daemon check -x jsBrowserTest

  test-linux:
    runs-on: ubuntu-latest
    if: "!contains(github.event.head_commit.message, '-SNAPSHOT')"
    steps:
      - uses: actions/checkout@v1
      #- { uses: actions/cache@v1, with: { path: '~/.gradle/caches', key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-gradle-" } }
      #- { uses: actions/cache@v1, with: { path: '~/.konan', key: "${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}", restore-keys: "${{ runner.os }}-konan-" } }
      - run: ./gradlew --no-daemon
      - run: ./gradlew --no-daemon jvmTest
      - run: ./gradlew --no-daemon check lint testDebugUnitTest -x jsBrowserTest
{'fraction_non_alphanumeric': 0.22873345935727787, 'fraction_numerical': 0.003780718336483932, 'mean_word_length': 2.514391143911439, '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': '2328985', 'n_tokens_mistral': 1833, 'n_tokens_neox': 1744, 'n_words': 340}