<commit_before>name: CI-mpi

on:
  # Trigger the workflow on push or pull request,
  # but only for the master branch
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  build:
    name: pytest-mpi
    runs-on: ubuntu-20.04

    env:
      DEVITO_LANGUAGE: "openmp"
      DEVITO_ARCH: "gcc-9"
      DEVITO_BACKEND: "core"
      CC: "gcc-9"
      CXX: "g++-9"

    steps:
    - name: Checkout devito
      uses: actions/checkout@v2

    - name: Install dependencies
      run: |
        sudo apt install mpich -y
        pip3 install --upgrade pip
        pip3 install -r requirements-mpi.txt
        pip3 install -e .[extras]

    - name: Test with pytest
      run: |<commit_msg>ci: Work around archives missing error on apt install<commit_after>name: CI-mpi

on:
  # Trigger the workflow on push or pull request,
  # but only for the master branch
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  build:
    name: pytest-mpi
    runs-on: ubuntu-20.04

    env:
      DEVITO_LANGUAGE: "openmp"
      DEVITO_ARCH: "gcc-9"
      DEVITO_BACKEND: "core"
      CC: "gcc-9"
      CXX: "g++-9"

    steps:
    - name: Checkout devito
      uses: actions/checkout@v2

    - name: Install dependencies
      run: |
        sudo apt-get update
        sudo apt install mpich -y
        pip3 install --upgrade pip
        pip3 install -r requirements-mpi.txt
        pip3 install -e .[extras]

    - name: Test with pytest
      run: |
{'fraction_non_alphanumeric': 0.09163346613545817, 'fraction_numerical': 0.014608233731739707, 'mean_word_length': 1.9376218323586745, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4807096', 'n_tokens_mistral': 553, 'n_tokens_neox': 516, 'n_words': 155}