<commit_before>name: CI

on:
  pull_request:
    branches:
      - '*'
  push:
    branches:
      - '*'

jobs:
  build:
    name: build
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true

    steps:
    - uses: actions/checkout@v2

    - name: install ci-dependencies
      run: make ci-dependencies

    - name: build package
      run: ./tests/ci/setup.sh build

    - name: upload packages
      uses: actions/upload-artifact@v2
      with:
        name: build
        path: build

  ci:
    env:
      GITHUB_NODE_INDEX: ${{ matrix.compiler }}
    name: ci.${{ matrix.index }}
    needs: build
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true
      matrix:
        index: [0, 1, 2,3]

    steps:
    - uses: actions/checkout@v2

    - name: download packages
      uses: actions/download-artifact@v1
      with:
        name: build

    - name: resolve dokku.me
      run: |
          # dokku.me now resolves to 10.0.0.2. add 10.0.0.2/24 to ens4
          ifconfig
          sudo ip addr add 10.0.0.2/24 broadcast 10.0.0.255 dev ens4

    - name: setup tests
      run: ./tests/ci/setup.sh

    - name: dokku cleanup:skip
      run: echo 'export DOKKU_SKIP_CLEANUP=true' | sudo tee /home/dokku/.dokkurc/dokku_skip_cleanup
<commit_msg>fix: use eth0 instead of ens4<commit_after>name: CI

on:
  pull_request:
    branches:
      - '*'
  push:
    branches:
      - '*'

jobs:
  build:
    name: build
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true

    steps:
    - uses: actions/checkout@v2

    - name: install ci-dependencies
      run: make ci-dependencies

    - name: build package
      run: ./tests/ci/setup.sh build

    - name: upload packages
      uses: actions/upload-artifact@v2
      with:
        name: build
        path: build

  ci:
    env:
      GITHUB_NODE_INDEX: ${{ matrix.compiler }}
    name: ci.${{ matrix.index }}
    needs: build
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true
      matrix:
        index: [0, 1, 2,3]

    steps:
    - uses: actions/checkout@v2

    - name: download packages
      uses: actions/download-artifact@v1
      with:
        name: build

    - name: resolve dokku.me
      run: |
          # dokku.me now resolves to 10.0.0.2. add 10.0.0.2/24 to eth0
          ifconfig
          sudo ip addr add 10.0.0.2/24 broadcast 10.0.0.255 dev eth0

    - name: setup tests
      run: ./tests/ci/setup.sh

    - name: dokku cleanup:skip
      run: echo 'export DOKKU_SKIP_CLEANUP=true' | sudo tee /home/dokku/.dokkurc/dokku_skip_cleanup

{'fraction_non_alphanumeric': 0.11036920659858601, 'fraction_numerical': 0.029065200314218383, 'mean_word_length': 1.848993288590604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4005716', 'n_tokens_mistral': 957, 'n_tokens_neox': 888, 'n_words': 223}