name: Run Gradle on PRs
on: pull-request
jobs:
  gradle:
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v1
    - uses: actions/setup-java@v1
      with:
        java-version: 11
    - name: Licensing
      uses: eskatos/gradle-command-action@v1
      with:
        arguments: --console=plain license
    - name: Coding style
      uses: eskatos/gradle-command-action@v1
      with:
        arguments: --console=plain codenarcAll
    - name: Build and test
      uses: eskatos/gradle-command-action@v1
      with:
        arguments: --console=plain --scan test intTest remoteTest gradleTest jacocoRootReport
    - name: Push documentation
      run: docs/publish-docs-from-travis

Add GitHub actions on PRs
Add GitHub actions on PRs
