<commit_before>name: Build and test
on:
  push:
    branches: [ develop, feature/github_actions ]
    tags:
      - v*
  pull_request:
    branches: [ develop ]
  workflow_dispatch:

  repository_dispatch:
    types: [utPLSQL-build,utPLSQL-java-api-build]

defaults:
  run:
    shell: bash

jobs:
  build:
    name: Test on JDK ${{ matrix.jdk }} with utPLSQL ${{ matrix.utplsql_version }}
    runs-on: ubuntu-latest
    env:
      ORACLE_VERSION: "gvenzl/oracle-xe:18.4.0-slim"
      UTPLSQL_VERSION: ${{matrix.utplsql_version}}
      UTPLSQL_FILE: ${{matrix.utplsql_file}}
      ORACLE_PASSWORD: <PASSWORD>
      DB_URL: "127.0.0.1:1521:XE"
      DB_USER: app
      DB_PASS: <PASSWORD>

    strategy:
      fail-fast: false
      matrix:
        utplsql_version: ["v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.1.1","v3.1.2","v3.1.3","v3.1.6","v3.1.7","v3.1.8","v3.1.9","v3.1.10","v3.1.11","develop"]
        utplsql_file: ["utPLSQL"]
        jdk: ['8']
        include:
          - utplsql_version: "v3.0.0"
            jdk: '8'
            utplsql_file: "utPLSQLv3.0.0"
    services:
      oracle:
        image: gvenzl/oracle-xe:18.4.0-slim
        env:
          ORACLE_PASSWORD: <PASSWORD>
        ports:
          - 1521:1521
        options: >-
          --health-cmd healthcheck.sh
          --health-interval 10s
          --health-timeout 5s
          --health-retries 10
          --name oracle

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: actions/setup-java@v2
        with:
          distribution: 'adopt'
          java-version: ${{matrix.jdk}}
          cache: 'maven'

      - name: Install utplsql
        run:  .travis/install_utplsql.sh
<commit_msg>Temporarily removed the cache because of GitHub issue 503<commit_after>name: Build and test
on:
  push:
    branches: [ develop, feature/github_actions ]
    tags:
      - v*
  pull_request:
    branches: [ develop ]
  workflow_dispatch:

  repository_dispatch:
    types: [utPLSQL-build,utPLSQL-java-api-build]

defaults:
  run:
    shell: bash

jobs:
  build:
    name: Test on JDK ${{ matrix.jdk }} with utPLSQL ${{ matrix.utplsql_version }}
    runs-on: ubuntu-latest
    env:
      ORACLE_VERSION: "gvenzl/oracle-xe:18.4.0-slim"
      UTPLSQL_VERSION: ${{matrix.utplsql_version}}
      UTPLSQL_FILE: ${{matrix.utplsql_file}}
      ORACLE_PASSWORD: <PASSWORD>
      DB_URL: "127.0.0.1:1521:XE"
      DB_USER: app
      DB_PASS: <PASSWORD>

    strategy:
      fail-fast: false
      matrix:
        utplsql_version: ["v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.1.1","v3.1.2","v3.1.3","v3.1.6","v3.1.7","v3.1.8","v3.1.9","v3.1.10","v3.1.11","develop"]
        utplsql_file: ["utPLSQL"]
        jdk: ['8']
        include:
          - utplsql_version: "v3.0.0"
            jdk: '8'
            utplsql_file: "utPLSQLv3.0.0"
    services:
      oracle:
        image: gvenzl/oracle-xe:18.4.0-slim
        env:
          ORACLE_PASSWORD: <PASSWORD>
        ports:
          - 1521:1521
        options: >-
          --health-cmd healthcheck.sh
          --health-interval 10s
          --health-timeout 5s
          --health-retries 10
          --name oracle

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: actions/setup-java@v2
        with:
          distribution: 'adopt'
          java-version: ${{matrix.jdk}}

      - name: Install utplsql
        run:  .travis/install_utplsql.sh

{'fraction_non_alphanumeric': 0.1469139379889887, 'fraction_numerical': 0.04897131266299623, 'mean_word_length': 1.95295124037639, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '487991', 'n_tokens_mistral': 1383, 'n_tokens_neox': 1309, 'n_words': 218}