<commit_before>name: CI-release

on:
  push:
    tags:
      - 'v*.*.*'

jobs:
  # First machine, runs Bluepill tests
  integration_tests:
    name: Bluepill Test
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
    - name: Select Xcode 11.2
      run: sudo xcode-select -s /Applications/Xcode_11.2.app
    - name: Run Bluepill tests
      run: ./scripts/bluepill.sh instance_tests

  # Second machine, runs BP tests and makes build
  build:
    name: BP Test and build
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
    - name: Report event trigger data
      run: |
        echo "Event ${{ github.event_name }}, ref: ${{ github.ref }}"
    - name: Select Xcode 11.2
      run: sudo xcode-select -s /Applications/Xcode_11.2.app
    - name: Run Bluepill tests
      run: ./scripts/bluepill.sh runner_tests
    - name: Build Bluepill
      run: ./scripts/bluepill.sh build
    - name: Release
      uses: softprops/action-gh-release@v1
      with:
        files: 'build/*.zip'
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - name: Install Cocoapods
      run: brew install cocoapods
    - name: Publish to Cocoapods
      run: pod trunk push Bluepill.podspec<commit_msg>Remove install cocoapods step since cocoapods is pre-installed (#402)<commit_after>name: CI-release

on:
  push:
    tags:
      - 'v*.*.*'

jobs:
  # First machine, runs Bluepill tests
  integration_tests:
    name: Bluepill Test
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
    - name: Select Xcode 11.2
      run: sudo xcode-select -s /Applications/Xcode_11.2.app
    - name: Run Bluepill tests
      run: ./scripts/bluepill.sh instance_tests

  # Second machine, runs BP tests and makes build
  build:
    name: BP Test and build
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
    - name: Report event trigger data
      run: |
        echo "Event ${{ github.event_name }}, ref: ${{ github.ref }}"
    - name: Select Xcode 11.2
      run: sudo xcode-select -s /Applications/Xcode_11.2.app
    - name: Run Bluepill tests
      run: ./scripts/bluepill.sh runner_tests
    - name: Build Bluepill
      run: ./scripts/bluepill.sh build
    - name: Release
      uses: softprops/action-gh-release@v1
      with:
        files: 'build/*.zip'
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - name: Publish to Cocoapods
      run: pod trunk push Bluepill.podspec
{'fraction_non_alphanumeric': 0.10725938009787928, 'fraction_numerical': 0.013458401305057096, 'mean_word_length': 2.3374149659863948, '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': '2246802', 'n_tokens_mistral': 873, 'n_tokens_neox': 829, 'n_words': 230}