<commit_before>format_version: 0.9.10
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

app:
  envs:
  - PROJECT_TITLE: BitriseSampleWithYML
  - XCODE_PROJECT_PATH: ./${PROJECT_TITLE}.xcodeproj
  - XCODE_PROJECT_SCHEME: ${PROJECT_TITLE}
  - BITRISE_KEYCHAIN_PATH: $HOME/Library/Keychains/login.keychain
  - BITRISE_KEYCHAIN_PASSWORD: <PASSWORD>

workflows:

  _download_certs:
    description: |-
      This is a utility workflow, used by other workflows.
    steps:
    - git::https://github.com/bitrise-io/steps-certificate-and-profile-installer.git@master:
        description: |-
          This step will only be used in CI mode, on continuous integration
          servers / services (because of the `run_if` statement),
          but **NOT** when you run it on your own machine.
        run_if: .IsCI
        inputs:
        - keychain_path: $BITRISE_KEYCHAIN_PATH
        - keychain_password: $BITRISE_KEYCHAIN_PASSWORD

  test:
    steps:
    - new-xcode-test:
        title: Run Xcode test
        inputs:
        - project_path: ${XCODE_PROJECT_PATH}
          opts:
            is_expand: yes
        - scheme: ${XCODE_PROJECT_SCHEME}
          opts:
            is_expand: yes
        - simulator_device: iPhone 6
        - simulator_os_version: latest

  analyze:
    before_run:
    - _download_certs
    steps:
    - script:
        title: Run Xcode analyze
        inputs:
        - content: xcodebuild -project "${XCODE_PROJECT_PATH}" -scheme "${XCODE_PROJECT_SCHEME}" analyze

  archive:
    description: |-
      This workflow will run Xcode archive on this project,
      but first it'll run the workflows listed in
      the `before_run` section.
    before_run:
    - test
    - _download_certs
    steps:
    - new-xcode-archive:
        title: Run Xcode archive
        inputs:
        - project_path: ${XCODE_PROJECT_PATH}
        - scheme: ${XCODE_PROJECT_SCHEME}
<commit_msg>updated for the latest StepLib<commit_after>format_version: 0.9.10
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

app:
  envs:
  - PROJECT_TITLE: BitriseSampleWithYML
  - XCODE_PROJECT_PATH: ./${PROJECT_TITLE}.xcodeproj
  - XCODE_PROJECT_SCHEME: ${PROJECT_TITLE}
  # in a normal project you should moved these into the
  #  hidden .bitrise.secrets.yml file, so that it's not stored
  #  in your code repository
  - BITRISE_KEYCHAIN_PATH: $HOME/Library/Keychains/login.keychain
  - BITRISE_KEYCHAIN_PASSWORD: <PASSWORD>

workflows:

  _download_certs:
    description: |-
      This is a utility workflow, used by other workflows.
    steps:
    - git::https://github.com/bitrise-io/steps-certificate-and-profile-installer.git@master:
        description: |-
          This step will only be used in CI mode, on continuous integration
          servers / services (because of the `run_if` statement),
          but **NOT** when you run it on your own machine.
        run_if: .IsCI
        inputs:
        - keychain_path: $BITRISE_KEYCHAIN_PATH
        - keychain_password: $BITRISE_KEYCHAIN_PASSWORD

  test:
    steps:
    - xcode-test:
        title: Run Xcode test
        inputs:
        - project_path: ${XCODE_PROJECT_PATH}
        - scheme: ${XCODE_PROJECT_SCHEME}
        - simulator_device: iPhone 6
        - simulator_os_version: latest
        - is_clean_build: "no"

  analyze:
    before_run:
    - _download_certs
    steps:
    - script:
        title: Run Xcode analyze
        inputs:
        - content: xcodebuild -project "${XCODE_PROJECT_PATH}" -scheme "${XCODE_PROJECT_SCHEME}" analyze

  archive:
    description: |-
      This workflow will run Xcode archive on this project,
      but first it'll run the workflows listed in
      the `before_run` section.
    before_run:
    - test
    - _download_certs
    steps:
    - xcode-archive:
        title: Run Xcode archive
        inputs:
        - project_path: ${XCODE_PROJECT_PATH}
        - scheme: ${XCODE_PROJECT_SCHEME}

  deploy:
    description: |-
      This workflow is meant to be used on a CI server (like bitrise.io), for continuous
      deployment, but of course you can run it on your own Mac as well,
      except the Step which deploys to Bitrise.io - that's marked with
      a Run-If statement to be skipped, unless you run bitrise in --ci mode.
    before_run:
    - archive
    steps: []

{'fraction_non_alphanumeric': 0.08498387839705204, 'fraction_numerical': 0.0023030861354214646, 'mean_word_length': 2.5251623376623376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5231475', 'n_tokens_mistral': 1433, 'n_tokens_neox': 1392, 'n_words': 365}