<commit_before>name: CI

on:
  push:
    branches:
    - master
  pull_request:
    branches:
    - master

jobs:
  unit_tests:
    name: Unit Tests
    runs-on: macOS-latest

    steps:
    - name: Setup Xcode
      uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '12.0'
    - name: Checkout
      uses: actions/checkout@v2

    # - name: Cache SPM
    #   uses: actions/cache@v2.1.3
    #   with:
    #     path: .build
    #     key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
    #     restore-keys: |
    #       ${{ runner.os }}-spm-

    - name: Cache Bundler
      uses: actions/cache@v2.1.3
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Install Gem Dependencies
      run: |
        bundle config path vendor/bundle
        bundle install

    - name: Run UnitTests
      run: bundle exec fastlane test

  ui_tests:
    name: UI Tests
    runs-on: macOS-latest

    steps:
    - name: Setup Xcode
      uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '12.0'
    - name: Checkout
      uses: actions/checkout@v2

    # - name: Cache SPM
    #   uses: actions/cache@v2.1.3
    #   with:
    #     path: .build
    #     key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
    #     restore-keys: |
    #       ${{ runner.os }}-spm-

    - name: Cache Bundler
      uses: actions/cache@v2.1.3
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Install Gem Dependencies
      run: |
        bundle config path vendor/bundle
        bundle install

    - name: Run UITests
      run: bundle exec fastlane ui_test

    - name: Upload screenshots
      uses: actions/upload-artifact@v2.2.0
      with:
        name: Screenshots
        path: build/screenshots<commit_msg>Bump actions/upload-artifact from v2.2.0 to v2.2.1 (#375)<commit_after>name: CI

on:
  push:
    branches:
    - master
  pull_request:
    branches:
    - master

jobs:
  unit_tests:
    name: Unit Tests
    runs-on: macOS-latest

    steps:
    - name: Setup Xcode
      uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '12.0'
    - name: Checkout
      uses: actions/checkout@v2

    # - name: Cache SPM
    #   uses: actions/cache@v2.1.3
    #   with:
    #     path: .build
    #     key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
    #     restore-keys: |
    #       ${{ runner.os }}-spm-

    - name: Cache Bundler
      uses: actions/cache@v2.1.3
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Install Gem Dependencies
      run: |
        bundle config path vendor/bundle
        bundle install

    - name: Run UnitTests
      run: bundle exec fastlane test

  ui_tests:
    name: UI Tests
    runs-on: macOS-latest

    steps:
    - name: Setup Xcode
      uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '12.0'
    - name: Checkout
      uses: actions/checkout@v2

    # - name: Cache SPM
    #   uses: actions/cache@v2.1.3
    #   with:
    #     path: .build
    #     key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
    #     restore-keys: |
    #       ${{ runner.os }}-spm-

    - name: Cache Bundler
      uses: actions/cache@v2.1.3
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Install Gem Dependencies
      run: |
        bundle config path vendor/bundle
        bundle install

    - name: Run UITests
      run: bundle exec fastlane ui_test

    - name: Upload screenshots
      uses: actions/upload-artifact@v2.2.1
      with:
        name: Screenshots
        path: build/screenshots
{'fraction_non_alphanumeric': 0.1367878192534381, 'fraction_numerical': 0.014489194499017682, 'mean_word_length': 1.7802047781569965, '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': '3276963', 'n_tokens_mistral': 1446, 'n_tokens_neox': 1382, 'n_words': 317}