<commit_before>name: build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    strategy:
      fail-fast: false
      matrix:
        os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
        java: [ '8', '9', '10', '11', '12', '13', '14' ]

    runs-on: ${{ matrix.os }}

    name: ${{ matrix.os }} / Java ${{ matrix.java }}

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Setup cache
      uses: actions/cache@v2
      with:
        path: ~/.m2/repository
        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
        restore-keys: |
          ${{ runner.os }}-maven-

    - name: Setup JDK
      uses: joschi/setup-jdk@v2
      with:
        java-version: ${{ matrix.java }}

    - name: Build
      run: mvn --batch-mode verify --file pom.xml

    - name: Archive integration test logs
      uses: actions/upload-artifact@v2
      if: failure()
      with:
        name: integration test logs
        path: ./target/it/tests/*/build.log

    - name: Upload unit test coverage reports
      uses: codecov/codecov-action@v1
      if: matrix.os == 'ubuntu-latest' && matrix.java == '8'
      env:
        OS: ${{ matrix.os }}
        JAVA_VERSION: ${{ matrix.java }}
      with:
        file: ./target/site/jacoco/jacoco.xml
        flags: unit
        env_vars: OS,JAVA_VERSION

    - name: Upload integration test coverage reports
      uses: codecov/codecov-action@v1
      if: matrix.os == 'ubuntu-latest' && matrix.java == '8'
      env:
        OS: ${{ matrix.os }}
        JAVA_VERSION: ${{ matrix.java }}
      with:<commit_msg>fix syntax<commit_after>name: build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    strategy:
      fail-fast: false
      matrix:
        os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
        java: [ '8', '9', '10', '11', '12', '13', '14' ]

    runs-on: ${{ matrix.os }}

    name: ${{ matrix.os }} / Java ${{ matrix.java }}

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Setup cache
      uses: actions/cache@v2
      with:
        path: ~/.m2/repository
        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
        restore-keys: |
          ${{ runner.os }}-maven-

    - name: Setup JDK
      uses: joschi/setup-jdk@v2
      with:
        java-version: ${{ matrix.java }}

    - name: Build
      run: mvn --batch-mode verify --file pom.xml

    - name: Archive integration test logs
      uses: actions/upload-artifact@v2
      if: failure()
      with:
        name: integration test logs
        path: ./target/it/tests/*/build.log

    - name: Upload unit test coverage reports
      uses: codecov/codecov-action@v1
      env:
        OS: ${{ matrix.os }}
        JAVA_VERSION: ${{ matrix.java }}
      with:
        file: ./target/site/jacoco/jacoco.xml
        flags: unit
        env_vars: OS,JAVA_VERSION

    - name: Upload integration test coverage reports
      uses: codecov/codecov-action@v1
      env:
        OS: ${{ matrix.os }}
        JAVA_VERSION: ${{ matrix.java }}
      with:
{'fraction_non_alphanumeric': 0.15252621544327932, 'fraction_numerical': 0.01271051795360661, 'mean_word_length': 1.9310986964618249, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3597054', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1025, 'n_words': 248}