<commit_before>name: Test_with_MFEM_release

on:
  pull_request:
    types:
      - labeled
  #push:
  #  branches: [ test ]
  #pull_request:
  #  branches: [ test ]
  #  types: [synchronize]

jobs:
  build:
    if: contains(github.event.pull_request.labels.*.name, 'in-test-with-mfem-release')
    strategy:
      fail-fast: false
      matrix:
        python-version: ["3.7", "3.8", "3.9"]
        #python-version: ["3.10"]
        #os: [ubuntu-latest]
        os: [ubuntu-20.04]
        # USE_FLAGS :  cuda, parallel, libceed
        env:
           - { USE_FLAGS: "000"}
           - { USE_FLAGS: "010"}

        include:
           - os: macos-latest
             python-version: 3.9
             env: {USE_FLAGS: "000"}

    runs-on: ${{ matrix.os }}	   
    #env: ${{ matrix.env }}
    env: 
       USE_FLAGS: ${{ matrix.env.USE_FLAGS }}
       CUDA: "11.5"
       SANDBOX: ~/sandbox

    steps:
    - uses: actions/checkout@v2
#      with:
#        ref: master_tracking_branch
 
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}



    - name: RUN_TEST
      if: always()
      continue-on-error: true
      run:
        exitcode=$(python -c "import sys;print('1')")
        touch test/sandbox.tar.gz
        echo $exitcode
        exit $exitcode

    - name: Upload Artifact
      uses: actions/upload-artifact@v3
      if: failure()
      with:
          name: test_results
          path: test/sandbox.tar.gz
          retention-days: 1<commit_msg>(testing..workflow)<commit_after>name: Test_with_MFEM_release

on:
  pull_request:
    types:
      - labeled
  #push:
  #  branches: [ test ]
  #pull_request:
  #  branches: [ test ]
  #  types: [synchronize]

jobs:
  build:
    if: contains(github.event.pull_request.labels.*.name, 'in-test-with-mfem-release')
    strategy:
      fail-fast: false
      matrix:
        python-version: ["3.7", "3.8", "3.9"]
        #python-version: ["3.10"]
        #os: [ubuntu-latest]
        os: [ubuntu-20.04]
        # USE_FLAGS :  cuda, parallel, libceed
        env:
           - { USE_FLAGS: "000"}
           - { USE_FLAGS: "010"}

        include:
           - os: macos-latest
             python-version: 3.9
             env: {USE_FLAGS: "000"}

    runs-on: ${{ matrix.os }}	   
    #env: ${{ matrix.env }}
    env: 
       USE_FLAGS: ${{ matrix.env.USE_FLAGS }}
       CUDA: "11.5"
       SANDBOX: ~/sandbox

    steps:
    - uses: actions/checkout@v2
#      with:
#        ref: master_tracking_branch
 
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}



    - name: RUN_TEST
      if: always()
      continue-on-error: true
      run:
        #exitcode=$(python -c "import sys;print('1')")
	exitcode='1'
        touch test/sandbox.tar.gz
        echo $exitcode
        exit $exitcode

    - name: Upload Artifact
      uses: actions/upload-artifact@v3
      if: failure()
      with:
          name: test_results
          path: test/sandbox.tar.gz
          retention-days: 1
{'fraction_non_alphanumeric': 0.13963821009203428, 'fraction_numerical': 0.020628371945414153, 'mean_word_length': 1.8168007149240393, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1449555', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1063, 'n_words': 216}