<commit_before>name: Build contributor PR
permissions: read-all
on: [pull_request]
jobs:
  run-ui:
    if: github.event.pull_request.head.repo.full_name != github.repository
    runs-on: macos-latest
    timeout-minutes: 60
    strategy:
      matrix:
        python-version: [3.9]
        xcode: [12.4]
        run-config: 
        - { scheme: 'Fennec_Enterprise_XCUITests', destination: 'platform=iOS Simulator,OS=latest,name=iPhone 11', testplan: 'SmokeXCUITests' }
    name: Run UI Smoketests
    steps:
        - name: Checkout repository
          uses: actions/checkout@v2
        - name: Set up Python ${{ matrix.python-version }}
          uses: actions/setup-python@v2
          with:
            python-version: ${{ matrix.python-version }}
        - name: Run Boostrap
          run: sh ./bootstrap.sh
          env:
            GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        - name: Build and Test
          run: xcodebuild clean test -scheme '${{ matrix.run-config['scheme'] }}' -destination '${{ matrix.run-config['destination'] }}' -testPlan '${{ matrix.run-config['testplan'] }}' -resultBundlePath TestResults -derivedDataPath results
        - name: Archive Results
          if: ${{ always() }}
          run: zip -r results.zip TestResults.xcresult<commit_msg>Update env in build-contributor-pr.yml (#8721)<commit_after>name: Build contributor PR
permissions: read-all
on: [pull_request]
jobs:
  run-ui:
    if: github.event.pull_request.head.repo.full_name != github.repository
    runs-on: macos-11
    timeout-minutes: 60
    strategy:
      matrix:
        python-version: [3.9]
        xcode: [12.5]
        run-config: 
        - { scheme: 'Fennec_Enterprise_XCUITests', destination: 'platform=iOS Simulator,OS=latest,name=iPhone 11', testplan: 'SmokeXCUITests' }
    name: Run UI Smoketests
    steps:
        - name: Checkout repository
          uses: actions/checkout@v2
        - name: Set up Python ${{ matrix.python-version }}
          uses: actions/setup-python@v2
          with:
            python-version: ${{ matrix.python-version }}
        - name: Run Boostrap
          run: sh ./bootstrap.sh
          env:
            GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        - name: Build and Test
          run: xcodebuild clean test -scheme '${{ matrix.run-config['scheme'] }}' -destination '${{ matrix.run-config['destination'] }}' -testPlan '${{ matrix.run-config['testplan'] }}' -resultBundlePath TestResults -derivedDataPath results
        - name: Archive Results
          if: ${{ always() }}
          run: zip -r results.zip TestResults.xcresult
{'fraction_non_alphanumeric': 0.12725182062092755, 'fraction_numerical': 0.010732081257186662, 'mean_word_length': 2.5175202156334233, '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': '6948478', 'n_tokens_mistral': 825, 'n_tokens_neox': 777, 'n_words': 181}