<commit_before># GitHub Actions for PostGIS
#
# <NAME> <pramsey at cleverelephant dot ca>

name: "CI"
on: [push, pull_request]

jobs:
  linux:

    runs-on: ubuntu-20.04

    env:
      PG_VERSION: 14
      OS_NAME: focal-pgdg

    steps:

    - name: 'Check Out'
      uses: actions/checkout@v2

    - name: 'Install'
      run: |
        curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
        sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ $OS_NAME main $PG_VERSION"
        sudo apt-get -y install libcurl4-gnutls-dev postgresql-server-dev-$PG_VERSION
        sudo systemctl start postgresql.service

    - name: 'Build & Test'
      run: |
        export PATH=/usr/lib/postgresql/$PG_VERSION/bin/:$PATH
        make
        sudo make install
        PGUSER=postgres make installcheck || (cat regression.diffs && /bin/false)<commit_msg>simpler ci<commit_after># GitHub Actions for PostGIS
#
# <NAME> <pramsey at cleverelephant dot ca>

name: "CI"
on: [push, pull_request]

jobs:
  linux:

    runs-on: ubuntu-20.04

    env:
      PG_VERSION: 14
      OS_NAME: focal-pgdg

    steps:

    - name: 'Check Out'
      uses: actions/checkout@v2

    - name: 'Install'
      run: |
        curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
        sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ $OS_NAME main $PG_VERSION"
        sudo apt-get -y install libcurl4-gnutls-dev postgresql-server-dev-$PG_VERSION
        sudo cp ./ci/pg_hba.conf /etc/postgresql/$PG_VERSION/main/pg_hba.conf
        sudo systemctl start postgresql.service

    - name: 'Build & Test'
      run: |
        export PATH=/usr/lib/postgresql/$PG_VERSION/bin/:$PATH
        make
        sudo make install
        PGUSER=postgres make installcheck || (cat regression.diffs && /bin/false)
{'fraction_non_alphanumeric': 0.1178052716514255, 'fraction_numerical': 0.010758472296933835, 'mean_word_length': 2.470149253731343, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '83549', 'n_tokens_mistral': 694, 'n_tokens_neox': 637, 'n_words': 148}