<commit_before>name: Java CI

on:
  pull_request:
    types: [opened, synchronize, reopened]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up JDK 1.8
      uses: actions/setup-java@v1
      with:
        java-version: 1.8
  
    - name: build and test caom2-dm
      run: cd caom2-dm && gradle --info clean build xslt

    - name: build and test caom2
      run: cd caom2 && gradle --info clean build javadoc checkstyleMain install
      
# caom2-compute depends on wcslib 
    - name: build and test caom2-compute
      run: cd caom2-compute && gradle --info clean assemble javadoc checkstyleMain install
    
    - name: build and test caom2-artifact-resolvers
      run: cd caom2-artifact-resolvers && gradle --info clean assemble javadoc checkstyleMain install

# no checkstyle for these utilities
    - name: build and test fits2caom2
      run: cd fits2caom2 && gradle --info clean build javadoc install

    - name: build and test caom2-validator
      run: cd caom2-validator && gradle --info clean build
    
    - name: build and test caom2-viz
      run: cd caom2-viz && gradle --info clean build<commit_msg>use gradlew in CI<commit_after>name: Java CI

on:
  pull_request:
    types: [opened, synchronize, reopened]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up JDK 1.8
      uses: actions/setup-java@v1
      with:
        java-version: 1.8
  
    - name: build and test caom2-dm
      run: cd caom2-dm && ../gradlew --info clean build xslt

    - name: build and test caom2
      run: cd caom2 && ../gradlew --info clean build javadoc checkstyleMain install
      
# caom2-compute depends on wcslib 
    - name: build and test caom2-compute
      run: cd caom2-compute && ../gradlew --info clean assemble javadoc checkstyleMain install
    
    - name: build and test caom2-artifact-resolvers
      run: cd caom2-artifact-resolvers && ../gradlew --info clean assemble javadoc checkstyleMain install

# no checkstyle for these utilities
    - name: build and test fits2caom2
      run: cd fits2caom2 && ../gradlew --info clean build javadoc install

    - name: build and test caom2-validator
      run: cd caom2-validator && ../gradlew --info clean build
    
    - name: build and test caom2-viz
      run: cd caom2-viz && ../gradlew --info clean build
{'fraction_non_alphanumeric': 0.0892707460184409, 'fraction_numerical': 0.019279128248113998, 'mean_word_length': 2.4444444444444446, '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': '5753173', 'n_tokens_mistral': 832, 'n_tokens_neox': 767, 'n_words': 264}